gmp_rootrem
gmp_rootrem
(PHP 5 >= 5.6.0, PHP 7)
gmp_rootrem — Take the integer part and remainder of nth root
Description
array gmp_rootrem ( GMP $a , int $nth )
Takes the nth
root of a
and returns the integer component and remainder of the result.
Parameters
Return Values
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.
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/function.gmp-rootrem.php