significand
significand(x)
Extract the significand(s)
(a.k.a. mantissa), in binary representation, of
a floating-point number or array. If x
is a non-zero finite number,
than the result will be a number of the same type on the interval
$[1,2)$. Otherwise x
is returned.
julia> significand(15.2)/15.2
0.125
julia> significand(15.2)*8
15.2
Examples
See Also
cmp, float, get_bigfloat_precision, get_rounding, get_zero_subnormals, isapprox, maxintfloat, mod2pi, nextfloat, precision, prevfloat, rationalize, round, set_bigfloat_precision, set_rounding, set_zero_subnormals, significand, with_bigfloat_precision, with_rounding,User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.