]> granicus.if.org Git - python/commitdiff
Add a link to the decimal module docs.
authorRaymond Hettinger <python@rcn.com>
Fri, 9 Jul 2004 06:00:32 +0000 (06:00 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 9 Jul 2004 06:00:32 +0000 (06:00 +0000)
Doc/tut/tut.tex

index 4827ab29eb6e9299044b91af7b3597eb8275db58..747208217a7b67509fa4cdf2367f23c0ee404dd3 100644 (file)
@@ -5059,14 +5059,14 @@ want to run a full list sort:
 
 \section{Decimal Floating Point Arithmetic\label{decimal-fp}}
 
-The \module{decimal} module offers a \class{Decimal} datatype for
-decimal floating point arithmetic.  Compared to the built-in \class{float}
-implementation of binary floating point, the new class is especially
-helpful for financial applications and other uses which require exact
-decimal representation, control over precision, control over rounding
-to meet legal or regulatory requirements, tracking of significant
-decimal places, or for applications where the user expects the results
-to match hand calculations as taught in school.
+The \ulink{\module{decimal}}{../lib/module-decimal.html} module offers a
+\class{Decimal} datatype for decimal floating point arithmetic.  Compared to
+the built-in \class{float} implementation of binary floating point, the new
+class is especially helpful for financial applications and other uses which
+require exact decimal representation, control over precision, control over
+rounding to meet legal or regulatory requirements, tracking of significant
+decimal places, or for applications where the user expects the results to
+calculations done by hand.
 
 For example, calculating a 5\%{} tax on a 70 cent phone charge gives
 different results in decimal floating point and binary floating point.