Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4ed3d4c3
Commit
4ed3d4c3
authored
May 18, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New description for math.frexp() -- poor description noted by
Francois Pinard.
parent
6334a331
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Doc/lib/libmath.tex
Doc/lib/libmath.tex
+6
-2
No files found.
Doc/lib/libmath.tex
View file @
4ed3d4c3
...
...
@@ -64,8 +64,12 @@ Return \code{\var{x} \%\ \var{y}}.
\end{funcdesc}
\begin{funcdesc}
{
frexp
}{
x
}
Return the matissa and exponent for
\var
{
x
}
. The mantissa is
positive.
Convert a floating-point number to fractional and integral
components. If
\var
{
x
}
is zero, returns
\code
{
(0.0, 0)
}
, otherwise
returns
\code
{
(
\var
{
frac
}
,
\var
{
exp
}
)
}
such that
\code
{
\var
{
frac
}
*
2**
\var
{
exp
}}
will equal
\var
{
x
}
.
\var
{
exp
}
will be an integer, and
the absolute value of
\var
{
frac
}
will be in the range [0.5, 1.0)
(
\var
{
frac
}
will share the sign of
\var
{
x
}
).
\end{funcdesc}
\begin{funcdesc}
{
hypot
}{
x, y
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment