メインコンテンツへスキップ

//ERDDAP/com.cohort.util/ScriptMath2/binaryExponent

binaryExponent

[JVM]
open fun binaryExponent(d: Double): Int

This returns the binary exponent of a double: usually +-1023.

Return

the binary exponent of d. If d = 0, this returns Binary0 (which is a flag, not a real value). If !isFinite(d), this return BinaryLimit (which is a flag, not a real value).

Parameters

JVM

dany double