gmp_sign Sign of number Description intgmp_sign resourcea Returns 1 if a is positive, -1 if a is negative, and 0 if a is zero. <function>gmp_sign</function> example ]]> The printout of the above program will be: