Next: syslib numerics numerator, Previous: syslib numerics abs, Up: syslib numerics [Index]
Return a fixnum representing the sign of fx: +1
for
positive, -1
for negative, 0
for zero.
Return a fixnum representing the sign of bn: +1
for
positive, -1
for negative. Bignums do not represent zero.
Return a flonum representing the sign of fx: +1.0
for
positive, including +0.0
and +inf.0
; -1.0
for
negative, including -0.0
and -inf.0
; +nan.0
for
not–a–number.
Return a fixnum representing the sign of the numerator of rt:
+1
for positive, -1
for negative. Ratnums do not
represent zero.