gmp_rootrem
(PHP 5 >= 5.6.0, PHP 7)
gmp_rootrem — Take the integer part and remainder of nth root
説明
array gmp_rootrem
(
GMP $a
,
int $nth
)
パラメータ
-
a
-
PHP 5.5 以前での GMP 数リソース、PHP 5.6 以降での GMP オブジェクト、あるいは数値に変換可能な数値形式の文字列。
-
nth
-
The positive root to take of a
.
返り値
A two element array, where the first element is the integer component of
the root, and the second element is the remainder, both represented as GMP
numbers.