gmp_sqrtrem()
function gmp_sqrtrem(object|string|int $num): array
Integer square root and remainder.
Parameters:
$num(object|string|int)
Returns: array
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how gmp_sqrtrem is implemented in the compiler, see the internals page.