[Python-checkins] python/dist/src/Doc/lib libdecimal.tex,1.8,1.9

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Fri Jul 9 08:13:15 CEST 2004


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

Modified Files:
	libdecimal.tex 
Log Message:
Incorporate Facundo's suggestions.

Index: libdecimal.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdecimal.tex,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** libdecimal.tex	8 Jul 2004 09:22:33 -0000	1.8
--- libdecimal.tex	9 Jul 2004 06:13:12 -0000	1.9
***************
*** 16,20 ****
  \versionadded{2.4}
  
! The decimal \module{module} provides support for decimal floating point
  arithmetic.  It offers several advantages over the \class{float()} datatype:
  
--- 16,20 ----
  \versionadded{2.4}
  
! The \module{decimal} module provides support for decimal floating point
  arithmetic.  It offers several advantages over the \class{float()} datatype:
  
***************
*** 90,94 ****
  For each signal there is a flag and a trap enabler.  When a signal is
  encountered, its flag incremented from zero and, then, if the trap enabler
! is set to one, an exception is raised.
  
  
--- 90,95 ----
  For each signal there is a flag and a trap enabler.  When a signal is
  encountered, its flag incremented from zero and, then, if the trap enabler
! is set to one, an exception is raised.  Flags are sticky, so the user
! needs to reset them before monitoring a calculation.
  
  
***************
*** 505,512 ****
    arithmetic operations in the context.
  
!   The \var{rounding} option is one of: \constant{ROUND_CEILING},
!   \constant{ROUND_DOWN}, \constant{ROUND_FLOOR}, \constant{ROUND_HALF_DOWN}
!   (towards zero), \constant{ROUND_HALF_EVEN}, \constant{ROUND_HALF_UP}, or
!   \constant{ROUND_UP} (away from zero).
  
    The \var{trap_enablers} and \var{flags} fields are mappings from signals
--- 506,517 ----
    arithmetic operations in the context.
  
!   The \var{rounding} option is one of:
!       \constant{ROUND_CEILING} (towards \constant{Infinity}),
!       \constant{ROUND_DOWN} (towards zero),
!       \constant{ROUND_FLOOR} (towards \constant{-Infinity}),
!       \constant{ROUND_HALF_DOWN} (towards zero),
!       \constant{ROUND_HALF_EVEN},
!       \constant{ROUND_HALF_UP} (away from zero), or
!       \constant{ROUND_UP} (away from zero).
  
    The \var{trap_enablers} and \var{flags} fields are mappings from signals



More information about the Python-checkins mailing list