ID EN
Math

frexp

Python 3.11

Return the mantissa and exponent of x as the pair (m, e). m is a float and e is an integer such that x == m * 2**e exactly. If x is zero, returns (0.0, 0), otherwise 0.5

Syntax

PYTHON
math.frexp(x)