diff options
author | Mark Dickinson <mdickinson@enthought.com> | 2011-11-19 16:26:45 (GMT) |
---|---|---|
committer | Mark Dickinson <mdickinson@enthought.com> | 2011-11-19 16:26:45 (GMT) |
commit | b1e58fe43f14ccf0a67589142ea643493b348c2b (patch) | |
tree | 1b433c6cea70d11deaa68d7ae3c2a5e11aa01615 /Doc/library/sys.rst | |
parent | fabf0275a91aeb84f4bca02906ee6f181abc0344 (diff) | |
download | cpython-b1e58fe43f14ccf0a67589142ea643493b348c2b.zip cpython-b1e58fe43f14ccf0a67589142ea643493b348c2b.tar.gz cpython-b1e58fe43f14ccf0a67589142ea643493b348c2b.tar.bz2 |
Issue #12245: Document sys.float_info.rounds better.
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r-- | Doc/library/sys.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index fdf188f..c18dfdb 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -296,8 +296,12 @@ always available. +---------------------+----------------+--------------------------------------------------+ | :const:`radix` | FLT_RADIX | radix of exponent representation | +---------------------+----------------+--------------------------------------------------+ - | :const:`rounds` | FLT_ROUNDS | constant representing rounding mode | - | | | used for arithmetic operations | + | :const:`rounds` | FLT_ROUNDS | integer constant representing the rounding mode | + | | | used for arithmetic operations. This reflects | + | | | the value of the system FLT_ROUNDS macro at | + | | | interpreter startup time. See section 5.2.4.2.2 | + | | | of the C99 standard for an explanation of the | + | | | possible values and their meanings. | +---------------------+----------------+--------------------------------------------------+ The attribute :attr:`sys.float_info.dig` needs further explanation. If |