[Python-checkins] python/dist/src/Doc/lib libdecimal.tex,1.19,1.20

facundobatista at users.sourceforge.net facundobatista at users.sourceforge.net
Fri Nov 12 03:03:40 CET 2004


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

Modified Files:
	libdecimal.tex 
Log Message:
SF bug 1060644. Better explanation of min() and max() methods. Thanks Raymond Hettinger and Tim Peters.

Index: libdecimal.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdecimal.tex,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- libdecimal.tex	28 Sep 2004 03:08:57 -0000	1.19
+++ libdecimal.tex	12 Nov 2004 02:03:36 -0000	1.20
@@ -355,13 +355,17 @@
 \end{methoddesc}
 
 \begin{methoddesc}{max}{other\optional{, context}}
-  Like \samp{max(self, other)} but returns \constant{NaN} if either is a
-  \constant{NaN}.  Applies the context rounding rule before returning.
+  Like \samp{max(self, other)} except that the context rounding rule
+  is applied before returning and that \constant{NaN} values are
+  either signalled or ignored (depending on the context and whether
+  they are signaling or quiet).
 \end{methoddesc}
 
 \begin{methoddesc}{min}{other\optional{, context}}
-  Like \samp{min(self, other)} but returns \constant{NaN} if either is a
-  \constant{NaN}.  Applies the context rounding rule before returning.
+  Like \samp{min(self, other)} except that the context rounding rule
+  is applied before returning and that \constant{NaN} values are
+  either signalled or ignored (depending on the context and whether
+  they are signaling or quiet).
 \end{methoddesc}
 
 \begin{methoddesc}{normalize}{\optional{context}}



More information about the Python-checkins mailing list