Display the text box

gmp_sqrtrem()

« gmp_sqrt | gmp_strval »
<?php
$array 
gmp_sqrtrem (
    
  // resource $a
);

// shows the result
$string gmp_strval($resource);
?>
Result
$array = [
  
=> 'GMP instance',
  
=> 'GMP instance',
]
$string = [
  
=> '3',
  
=> '0',
]
Examples
#1 gmp_sqrtrem  ("9")
#2 gmp_sqrtrem  ("7")
#3 gmp_sqrtrem  ("1048576")
See also
gmp_div_qr, gmp_strval