Kaydet (Commit) 5d8b379a authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Update description of float_info

üst 7a66a1be
...@@ -935,11 +935,11 @@ complete list of changes, or look through the CVS logs for all the details. ...@@ -935,11 +935,11 @@ complete list of changes, or look through the CVS logs for all the details.
.. Patch #957003 .. Patch #957003
* A new variable in the :mod:`sys` module, * A new variable in the :mod:`sys` module,
:attr:`float_info`, is a dictionary :attr:`float_info`, is an object
containing information about the platform's floating-point support containing information about the platform's floating-point support
derived from the :file:`float.h` file. Key/value pairs derived from the :file:`float.h` file. Attributes of this object
in this dictionary include include
``"mant_dig"`` (number of digits in the mantissa), ``"epsilon"`` :attr:`mant_dig` (number of digits in the mantissa), :attr:`epsilon`
(smallest difference between 1.0 and the next largest value (smallest difference between 1.0 and the next largest value
representable), and several others. (Contributed by Christian Heimes.) representable), and several others. (Contributed by Christian Heimes.)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment