[Python-checkins] cpython (merge 3.2 -> default): Issue #12245 merge.

mark.dickinson python-checkins at python.org
Sat Nov 19 17:27:39 CET 2011


http://hg.python.org/cpython/rev/5e45dfc421e4
changeset:   73622:5e45dfc421e4
parent:      73619:34fcc0d5c3c5
parent:      73621:795c184b0282
user:        Mark Dickinson <mdickinson at enthought.com>
date:        Sat Nov 19 16:27:22 2011 +0000
summary:
  Issue #12245 merge.

files:
  Doc/library/sys.rst |  8 ++++++--
  1 files changed, 6 insertions(+), 2 deletions(-)


diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -298,8 +298,12 @@
    +---------------------+----------------+--------------------------------------------------+
    | :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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list