Returns one of three values representing the sign of a number. Returns -1 if the number is negative, 1 if positive, 0 if 0.
float sign( float number )
number is the number whose sign you want to determine.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License