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
0301c9bd
Commit
0301c9bd
authored
Mar 26, 2018
by
Stefano Taschini
Committed by
Serhiy Storchaka
Mar 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo and edit for clarity in the docstrings of sys.float_info. (GH-2251)
parent
3ab44c07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Objects/floatobject.c
Objects/floatobject.c
+2
-3
No files found.
Objects/floatobject.c
View file @
0301c9bd
/* Float object implementation */
/* XXX There should be overflow checks here, but it's hard to check
...
...
@@ -54,7 +53,7 @@ static PyStructSequence_Field floatinfo_fields[] = {
"is representable"
},
{
"max_10_exp"
,
"DBL_MAX_10_EXP -- maximum int e such that 10**e "
"is representable"
},
{
"min"
,
"DBL_MIN -- Minimum positive normalize
r
float"
},
{
"min"
,
"DBL_MIN -- Minimum positive normalize
d
float"
},
{
"min_exp"
,
"DBL_MIN_EXP -- minimum int e such that radix**(e-1) "
"is a normalized float"
},
{
"min_10_exp"
,
"DBL_MIN_10_EXP -- minimum int e such that 10**e is "
...
...
@@ -64,7 +63,7 @@ static PyStructSequence_Field floatinfo_fields[] = {
{
"epsilon"
,
"DBL_EPSILON -- Difference between 1 and the next "
"representable float"
},
{
"radix"
,
"FLT_RADIX -- radix of exponent"
},
{
"rounds"
,
"FLT_ROUNDS --
addition rounds
"
},
{
"rounds"
,
"FLT_ROUNDS --
rounding mode
"
},
{
0
}
};
...
...
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