jax.numpy.frexp#
- jax.numpy.frexp(x, /)[source]#
Decompose the elements of x into mantissa and twos exponent.
LAX-backend implementation of
numpy.frexp()
.Original docstring below.
Returns (mantissa, exponent), where
x = mantissa * 2**exponent
. The mantissa lies in the open interval(-1, 1), while the twos exponent is a signed integer.