//ERDDAP/com.cohort.util/ScriptMath/signum
signum
[JVM]
open fun signum(d: Double): Double
Returns the signum function of the argument; zero if the argument is zero, 1.0 if the argument is greater than zero, -1.0 if the argument is less than zero.
[JVM]
open fun signum(f: Float): Float
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.