Name

frexp — math only

Synopsis

frexp(x)

Returns a pair ( m,e ) with the mantissa and exponent of x. m is a floating-point number and e is an integer such that x == m *(2**e) and 0.5<=abs( m )<1, except that frexp(0) returns (0.0,0).

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.