gmp_root
(PHP 5 >= 5.6.0, PHP 7)
gmp_root — Take the integer part of nth root
説明
Takes the nth root of a and
returns the integer component of the result.
パラメータ
-
a -
PHP 5.5 以前での GMP 数リソース、PHP 5.6 以降での GMP オブジェクト、あるいは数値に変換可能な数値形式の文字列。
-
nth -
The positive root to take of
a.
返り値
The integer component of the resultant root, as a GMP number.