From: Facundo Batista Date: Fri, 12 Nov 2004 02:03:36 +0000 (+0000) Subject: SF bug 1060644. Better explanation of min() and max() methods. Thanks Raymond Hetting... X-Git-Tag: v2.4c1~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=441609466b308b8a127f6b9bb35dc9804224541d;p=thirdparty%2FPython%2Fcpython.git SF bug 1060644. Better explanation of min() and max() methods. Thanks Raymond Hettinger and Tim Peters. --- diff --git a/Doc/lib/libdecimal.tex b/Doc/lib/libdecimal.tex index d4126ac676ff..dfa212a8fd91 100644 --- a/Doc/lib/libdecimal.tex +++ b/Doc/lib/libdecimal.tex @@ -355,13 +355,17 @@ also have a number of specialized methods: \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}}