Skip to content
Snippets Groups Projects
Commit 4fddbe5a authored by Damien George's avatar Damien George
Browse files

docs: Correct the documentation for math.frexp.

parent 1babb6d0
No related branches found
No related tags found
No related merge requests found
...@@ -90,7 +90,10 @@ Functions ...@@ -90,7 +90,10 @@ Functions
.. function:: frexp(x) .. function:: frexp(x)
Converts a floating-point number to fractional and integral components. Decomposes a floating-point number into its mantissa and exponent.
The returned value is the tuple ``(m, e)`` such that ``x == m * 2**e``
exactly. If ``x == 0`` then the function returns ``(0.0, 0)``, otherwise
the relation ``0.5 <= abs(m) < 1`` holds.
.. function:: gamma(x) .. function:: gamma(x)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment