summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2011-11-19 16:27:22 (GMT)
committerMark Dickinson <mdickinson@enthought.com>2011-11-19 16:27:22 (GMT)
commit895d181128c23982a71027fded204dc41b4e0e7d (patch)
treec613cd6272d513f5e3636d6799e61286cfa5cd65 /Doc/library/sys.rst
parente6eabd43458c041ceae418c3806dcfcc30b5ed2e (diff)
parentb1e58fe43f14ccf0a67589142ea643493b348c2b (diff)
downloadcpython-895d181128c23982a71027fded204dc41b4e0e7d.zip
cpython-895d181128c23982a71027fded204dc41b4e0e7d.tar.gz
cpython-895d181128c23982a71027fded204dc41b4e0e7d.tar.bz2
Issue #12245 merge.
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r--Doc/library/sys.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index a032549..20020be 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -298,8 +298,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