]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-85988: Change documentation for sys.float_info.rounds (GH-99675)
authorBrad Wolfe <brad.wolfe@gmail.com>
Sun, 27 Nov 2022 10:25:12 +0000 (11:25 +0100)
committerGitHub <noreply@github.com>
Sun, 27 Nov 2022 10:25:12 +0000 (10:25 +0000)
commit65629399bcfe2a6606b8201d190877f7f54e6be5
tree453fe1b2f9edcac143d81836e874480d02107ad6
parent22860dbbc8b53954055847d2bb036af68b4ea409
gh-85988: Change documentation for sys.float_info.rounds (GH-99675)

* Change documentation for sys.float_info.rounds

Change the documentation for sys.float_info.rounds to remove
references to C99 section 5.2.4.2.2 and instead place the
available values inline.

* Correction to previous documentation change

Newlines were not preserved in generated HTML on previous
commit. I have changes the list to a comma-separated list
of values and their meanings.

* Clarify source for value of FLT_ROUNDS

Clarify the source of the FLT_ROUNDS value and
change 'floating-point addition' to 'floating-point
arithmetic' to indicate that the rounding mode
applies to all arithmetic operations.
Doc/library/sys.rst