diff options
Diffstat (limited to 'Doc/library/decimal.rst')
-rw-r--r-- | Doc/library/decimal.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst index bc495ae..e82929c 100644 --- a/Doc/library/decimal.rst +++ b/Doc/library/decimal.rst @@ -354,7 +354,8 @@ Decimal objects Once constructed, :class:`Decimal` objects are immutable. .. versionchanged:: 3.2 - The argument to the constructor is now permitted to be a :class:`float` instance. + The argument to the constructor is now permitted to be a :class:`float` + instance. Decimal floating point objects share many properties with the other built-in numeric types such as :class:`float` and :class:`int`. All of the usual math @@ -372,8 +373,8 @@ Decimal objects when doing equality comparisons between numbers of different types. .. versionchanged:: 3.2 - Mixed-type comparisons between :class:`Decimal` instances and - other numeric types are now fully supported. + Mixed-type comparisons between :class:`Decimal` instances and other + numeric types are now fully supported. In addition to the standard numeric properties, decimal floating point objects also have a number of specialized methods: @@ -1007,7 +1008,6 @@ In addition to the three supplied contexts, new contexts can be created with the value for subnormal results. When underflow occurs, the exponent is set to :const:`Etiny`. - .. method:: Etop() Returns a value equal to ``Emax - prec + 1``. |