显示下拉菜单

gmp_neg()

« gmp_mul | gmp_nextprime »
<?php
$resource 
gmp_neg (
    
  // resource $a
);

// shows the result
$string gmp_strval($resource);
?>
结果
$resource = 'GMP instance'
$string = '1'
示例
#1 gmp_neg  ("1")
#2 gmp_neg  ("-1")
另请参阅
gmp_abs, gmp_strval