Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite3e8bdc

Browse files
Fix typo and edit for clarity in the docstrings of sys.float_info. (pythonGH-2251)
(cherry picked from commit0301c9b)Co-authored-by: Stefano Taschini <taschini@users.noreply.github.com>
1 parentedd5418 commite3e8bdc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎Objects/floatobject.c‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/* Float object implementation */
32

43
/* XXX There should be overflow checks here, but it's hard to check
@@ -80,7 +79,7 @@ static PyStructSequence_Field floatinfo_fields[] = {
8079
"is representable"},
8180
{"max_10_exp","DBL_MAX_10_EXP -- maximum int e such that 10**e "
8281
"is representable"},
83-
{"min","DBL_MIN -- Minimum positivenormalizer float"},
82+
{"min","DBL_MIN -- Minimum positivenormalized float"},
8483
{"min_exp","DBL_MIN_EXP -- minimum int e such that radix**(e-1) "
8584
"is a normalized float"},
8685
{"min_10_exp","DBL_MIN_10_EXP -- minimum int e such that 10**e is "
@@ -90,7 +89,7 @@ static PyStructSequence_Field floatinfo_fields[] = {
9089
{"epsilon","DBL_EPSILON -- Difference between 1 and the next "
9190
"representable float"},
9291
{"radix","FLT_RADIX -- radix of exponent"},
93-
{"rounds","FLT_ROUNDS --addition rounds"},
92+
{"rounds","FLT_ROUNDS --rounding mode"},
9493
{0}
9594
};
9695

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp