|
inlineconstexpr |
Computes the elementwise ieee pair of mantissa and exponent of the floating value,.
Defined in Header
Parameters
x
: argument.Return value
Computes the elementwise ieee ifrexp of the floating value, returning a pair {m,e}
of values m
being of the same type as x
and e
of the associated integral type, which are related by \(x = m\times 2^e\), with \(|m| \in [0.5, 1.5[\).
However, the cases \(x = \pm\infty\) or is a Nan or a denormal are undefined.
The call eve::pedantic(eve::ifrexp)(x)
takes also properly care of the cases where \(x = \pm0, \pm\infty\) or is a Nan, where \(m=x\) and \(e=0\) and of the denormal cases.
Example