[Python-checkins] python/dist/src/Doc/tut tut.tex,1.238,1.239

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Fri Jul 9 08:00:41 CEST 2004


Update of /cvsroot/python/python/dist/src/Doc/tut
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11305

Modified Files:
	tut.tex 
Log Message:
Add a link to the decimal module docs.

Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.238
retrieving revision 1.239
diff -C2 -d -r1.238 -r1.239
*** tut.tex	8 Jul 2004 09:33:00 -0000	1.238
--- tut.tex	9 Jul 2004 06:00:32 -0000	1.239
***************
*** 5060,5071 ****
  \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.
  
  For example, calculating a 5\%{} tax on a 70 cent phone charge gives
--- 5060,5071 ----
  \section{Decimal Floating Point Arithmetic\label{decimal-fp}}
  
! 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



More information about the Python-checkins mailing list