The function returns 1.0 for all positive values (including 0) and fractions, and -1.0 for all negative values.

