scalb
functionv1.11
cljs.math/scalb
(scalb [d scaleFactor])Returns d * 2^scaleFactor, scaling by a factor of 2. If the exponent
is between min_Float64_exponent and max_Float64_exponent.
scaleFactor is an integer
If d is ##NaN => ##NaN
If d is ##Inf or ##-Inf => ##Inf or ##-Inf respectively
If d is zero => zero of same sign as d
See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#nextDown-double-
Examples
No examples yet. Be the first to add one!