//ERDDAP/com.cohort.util/ScriptMath2/exponent
exponent
[JVM]
open fun exponent(d: Double): Double
This returns the double exponent of a double (e.g., -0.0175 returns 0.01 since -0.0175=-1.75*0.01). It handles 0, +, and - numbers. WARNING: round off problems cause 100 -> 10 10^1, not 110^2!
Return
the exponent of the number. d=0 returns 1. If !isFinite(d), this returns NaN.
Parameters
JVM
d | a double value |