SF bug 1060644. Better explanation of min() and max() methods. Thanks Raymond Hettinger and Tim Peters.

This commit is contained in:
Facundo Batista 2004-11-12 02:03:36 +00:00
parent 961eda7ad9
commit 441609466b
1 changed files with 8 additions and 4 deletions

View File

@ -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}}