get-exponent
functionv1.11
cljs.math/get-exponent
(get-exponent [d])Returns the exponent of d.
If d is ##NaN, ##Inf, ##-Inf => max_Float64_exponent + 1
If d is zero or subnormal => min_Float64_exponent - 1
See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#getExponent-double-
Examples
No examples yet. Be the first to add one!