Merged revisions 70171,70183,70290,70292,70315,70438,70464 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70171 | facundo.batista | 2009-03-04 22:18:17 +0100 (Mi, 04 Mär 2009) | 3 lines
Fixed a typo.
........
r70183 | benjamin.peterson | 2009-03-05 01:17:57 +0100 (Do, 05 Mär 2009) | 1 line
add example
........
r70290 | raymond.hettinger | 2009-03-10 02:07:30 +0100 (Di, 10 Mär 2009) | 1 line
Update url for the spec.
........
r70292 | raymond.hettinger | 2009-03-10 05:40:24 +0100 (Di, 10 Mär 2009) | 1 line
Clarify the meaning of normal and subnormal.
........
r70315 | raymond.hettinger | 2009-03-12 01:25:03 +0100 (Do, 12 Mär 2009) | 1 line
Add reference to solution for a commonly asked question.
........
r70438 | benjamin.peterson | 2009-03-17 21:29:51 +0100 (Di, 17 Mär 2009) | 1 line
I thought this was begging for an example
........
r70464 | benjamin.peterson | 2009-03-18 21:58:09 +0100 (Mi, 18 Mär 2009) | 1 line
a much better example
........
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 7cd8952..6e45e84 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -108,7 +108,7 @@
.. seealso::
* IBM's General Decimal Arithmetic Specification, `The General Decimal Arithmetic
- Specification <http://www2.hursley.ibm.com/decimal/decarith.html>`_.
+ Specification <http://speleotrove.com/decimal/>`_.
* IEEE standard 854-1987, `Unofficial IEEE 854 Text
<http://754r.ucbtest.org/standards/854.pdf>`_.
@@ -531,8 +531,11 @@
.. method:: is_normal()
- Return :const:`True` if the argument is a *normal* finite number. Return
- :const:`False` if the argument is zero, subnormal, infinite or a NaN.
+ Return :const:`True` if the argument is a *normal* finite non-zero
+ number with an adjusted exponent greater than or equal to *Emin*.
+ Return :const:`False` if the argument is zero, subnormal, infinite or a
+ NaN. Note, the term *normal* is used here in a different sense with
+ the :meth:`normalize` method which is used to create canonical values.
.. versionadded:: 2.6
@@ -560,7 +563,8 @@
.. method:: is_subnormal()
Return :const:`True` if the argument is subnormal, and :const:`False`
- otherwise.
+ otherwise. A number is subnormal is if it is nonzero, finite, and has an
+ adjusted exponent less than *Emin*.
.. versionadded:: 2.6