public static float signum (float f)

Returns the signum function of the argument; zero if the argument is zero, 1.0f if the argument is greater than zero, -1.0f if the argument is less than zero.

Special Cases:

Parameters:
f    the floating-point value whose signum is to be returned

Returns:  the signum function of the argument

Since:  1.5