From 441609466b308b8a127f6b9bb35dc9804224541d Mon Sep 17 00:00:00 2001 From: Facundo Batista Date: Fri, 12 Nov 2004 02:03:36 +0000 Subject: SF bug 1060644. Better explanation of min() and max() methods. Thanks Raymond Hettinger and Tim Peters. --- Doc/lib/libdecimal.tex | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Doc/lib/libdecimal.tex b/Doc/lib/libdecimal.tex index d4126ac..dfa212a 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}} -- cgit v0.12