summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libdecimal.tex
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2004-11-12 02:03:36 (GMT)
committerFacundo Batista <facundobatista@gmail.com>2004-11-12 02:03:36 (GMT)
commit441609466b308b8a127f6b9bb35dc9804224541d (patch)
tree37af82c6c461435e5e68b80fc14d78f09b50ae70 /Doc/lib/libdecimal.tex
parent961eda7ad938726227adb77bad5e1f2a1effef99 (diff)
downloadcpython-441609466b308b8a127f6b9bb35dc9804224541d.zip
cpython-441609466b308b8a127f6b9bb35dc9804224541d.tar.gz
cpython-441609466b308b8a127f6b9bb35dc9804224541d.tar.bz2
SF bug 1060644. Better explanation of min() and max() methods. Thanks Raymond Hettinger and Tim Peters.
Diffstat (limited to 'Doc/lib/libdecimal.tex')
-rw-r--r--Doc/lib/libdecimal.tex12
1 files 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}}