Display the drop-down list

gmp_pow()

« gmp_popcount | gmp_powm »
<?php
$resource 
gmp_pow (
    
// resource $base
    
  // int $exp
);

// shows the result
$string gmp_strval($resource);
?>
Result
$resource = false
$string = '0'
PHP warning : gmp_pow(): Negative exponent not supported
Examples
#1 gmp_pow  ("2",
 
31)
#2 gmp_pow  ("0",
 
0)
#3 gmp_pow  ("2",
 -
1)
#4 gmp_pow  ("2",
 
3)
See also
gmp_abs, gmp_powm, gmp_strval