summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3fp.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3fp.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3fp.dtx14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp.dtx
index e531e62e54e..09efdfdd58f 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3fp.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3fp.dtx
@@ -36,7 +36,7 @@
%
%<*driver|package>
\RequirePackage{l3bootstrap}
-\GetIdInfo$Id: l3fp.dtx 4305 2012-11-10 08:40:25Z joseph $
+\GetIdInfo$Id: l3fp.dtx 4449 2013-01-19 23:55:05Z bruno $
{L3 Floating points}
%</driver|package>
%<*driver>
@@ -362,16 +362,18 @@
% case occurs exactly when one of the operands is \nan{}, and
% this relations is denoted by the symbol |?|. The \texttt{nNn}
% functions support the \meta{relations} |<|, |=|, |>|, and |?|. The
-% \texttt{n} functions support as a \meta{relation} any combination of
-% those four symbols, plus an optional leading |!| (which negates the
+% \texttt{n} functions support as a \meta{relation} any non-empty string of
+% those four symbols, plus optional leading |!| (which negate the
% \meta{relation}), with the restriction that the \meta{relation} may
% not start with |?|. Common choices of \meta{relation} include |>=|
% (greater or equal), |!=| (not equal), |!?| (comparable). Note that
% a \nan{} is distinct from any value, even another
-% \nan{}, hence $x=x$ is not true for a \nan{}. Thus to
-% test if a value is \nan{}, use
+% \nan{}, hence $x=x$ is not true for a \nan{}.
+% Since a \nan{} is not comparable to any floating point, to test if a
+% value is \nan{}, one can use the following, where~$0$ is an
+% arbitrary floating point.
% \begin{verbatim}
-% \fp_compare:nNnTF { <value> } != { <value> }
+% \fp_compare:nNnTF { <value> } ? { 0 }
% { } % <value> is nan
% { } % <value> is not nan
% \end{verbatim}