gmp_sign

PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
gmp_sign - Sign of number
Manual
Code Examples

Example #1 gmp_sign example

Result: 1 -1 0
PHP Version: