From: Andrew M. Kuchling Date: Mon, 14 Jan 2008 14:48:43 +0000 (+0000) Subject: Update description of float_info X-Git-Tag: v2.6a1~614 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d8b379abcf9e200122c7c95fbf012a5c9ef8e32;p=python Update description of float_info --- diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index 4d90d3503e..f31ebf76ac 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -935,11 +935,11 @@ complete list of changes, or look through the CVS logs for all the details. .. Patch #957003 * 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 - derived from the :file:`float.h` file. Key/value pairs - in this dictionary include - ``"mant_dig"`` (number of digits in the mantissa), ``"epsilon"`` + derived from the :file:`float.h` file. Attributes of this object + include + :attr:`mant_dig` (number of digits in the mantissa), :attr:`epsilon` (smallest difference between 1.0 and the next largest value representable), and several others. (Contributed by Christian Heimes.)