summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-08-16 22:41:08 +0000
committerKarl Berry <karl@freefriends.org>2012-08-16 22:41:08 +0000
commitca1c73f9a8de69e467230c4a57ccf8b07cd275a9 (patch)
tree6272657307f73c14327d6b8bce5d6b7ff97c3f66 /Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx
parent22c251adda514ed7b453066de05b2f89707d0fe6 (diff)
finish l3 update
git-svn-id: svn://tug.org/texlive/trunk@27427 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx34
1 files changed, 15 insertions, 19 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx
index 16a3fb465f6..d6682a661c3 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx
@@ -35,7 +35,7 @@
%%
%
%<*driver>
-\RequirePackage{l3names}
+\RequirePackage{l3bootstrap}
\GetIdInfo$Id: l3fp-trig.dtx 3514 2012-03-08 06:14:48Z bruno $
{L3 Floating-point trigonometric functions}
\documentclass[full]{l3doc}
@@ -116,7 +116,7 @@
%
% \subsubsection{Sign and special numbers}
%
-% \begin{macro}[int, EXP]{\@@_sin:w}
+% \begin{macro}[int, EXP]{\@@_sin_o:w}
% The sine of $\pm 0$ or \nan{} is the same floating point number.
% The sine of $\pm\infty$ raises an invalid operation exception.
% Otherwise, check the exponent, preparing to use
@@ -124,7 +124,7 @@
% an initial octant of $0$. The question mark is an argument which is
% not used in this case.
% \begin{macrocode}
-\cs_new:Npn \@@_sin:w \s_@@ \@@_chk:w #1#2
+\cs_new:Npn \@@_sin_o:w \s_@@ \@@_chk:w #1#2
{
\if_case:w #1 \exp_stop_f:
\@@_case_return_same_o:w
@@ -135,8 +135,7 @@
\exp_after:wN #2
\exp_after:wN \c_zero
\or:
- \@@_case_use:nw
- { \@@_invalid_operation:Nnw \c_nan_fp { sin } }
+ \@@_case_use:nw { \@@_invalid_operation_o:nw { sin } }
\else: \@@_case_return_same_o:w
\fi:
\s_@@ \@@_chk:w #1#2
@@ -144,7 +143,7 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}[int, EXP]{\@@_cos:w}
+% \begin{macro}[int, EXP]{\@@_cos_o:w}
% The cosine of $\pm 0$ is $1$. The cosine of $\pm\infty$ raises an
% invalid operation exception. The cosine of \nan{} is itself.
% Otherwise, check the exponent, preparing to use
@@ -153,7 +152,7 @@
% + |x|)$. The question mark is an argument which is not used in this
% case.
% \begin{macrocode}
-\cs_new:Npn \@@_cos:w \s_@@ \@@_chk:w #1#2
+\cs_new:Npn \@@_cos_o:w \s_@@ \@@_chk:w #1#2
{
\if_case:w #1 \exp_stop_f:
\@@_case_return_o:Nw \c_one_fp
@@ -167,8 +166,7 @@
\c_two
}
\or:
- \@@_case_use:nw
- { \@@_invalid_operation:Nnw \c_nan_fp { cos } }
+ \@@_case_use:nw { \@@_invalid_operation_o:nw { cos } }
\else: \@@_case_return_same_o:w
\fi:
\s_@@ \@@_chk:w #1#2
@@ -176,16 +174,16 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}[int, EXP]{\@@_tan:w}
+% \begin{macro}[int, EXP]{\@@_tan_o:w}
% The tangent of $\pm 0$ or \nan{} is the same floating point number.
% The tangent of $\pm\infty$ raises an invalid operation exception.
% Otherwise, check the exponent, preparing to use
% \cs{@@_tan_series:NNwww} for the calculation, with a positive sign
% ($0$), and an initial octant of $1$, chosen to be distinct from the
-% octants for sine and cosine. See \cs{@@_cot:w} for an
+% octants for sine and cosine. See \cs{@@_cot_o:w} for an
% explanation of the $0$ argument.
% \begin{macrocode}
-\cs_new:Npn \@@_tan:w \s_@@ \@@_chk:w #1#2
+\cs_new:Npn \@@_tan_o:w \s_@@ \@@_chk:w #1#2
{
\if_case:w #1 \exp_stop_f:
\@@_case_return_same_o:w
@@ -196,8 +194,7 @@
\exp_after:wN #2
\exp_after:wN \c_one
\or:
- \@@_case_use:nw
- { \@@_invalid_operation:Nnw \c_nan_fp { tan } }
+ \@@_case_use:nw { \@@_invalid_operation_o:nw { tan } }
\else: \@@_case_return_same_o:w
\fi:
\s_@@ \@@_chk:w #1#2
@@ -205,7 +202,7 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}[int, EXP]{\@@_cot:w}
+% \begin{macro}[int, EXP]{\@@_cot_o:w}
% The cotangent of $\pm 0$ is $\pm \infty$ with the same sign,
% produced by \cs{@@_one_over:w}. The cotangent of $\pm\infty$ raises
% an invalid operation exception. The cotangent of \nan{} is itself.
@@ -216,7 +213,7 @@
% indicates whether we compute tangent or cotangent. Those signs are
% eventually combined.
% \begin{macrocode}
-\cs_new:Npn \@@_cot:w \s_@@ \@@_chk:w #1#2
+\cs_new:Npn \@@_cot_o:w \s_@@ \@@_chk:w #1#2
{
\if_case:w #1 \exp_stop_f:
\exp_after:wN \@@_one_over:w
@@ -227,8 +224,7 @@
\exp_after:wN #2
\exp_after:wN \c_three
\or:
- \@@_case_use:nw
- { \@@_invalid_operation:Nnw \c_nan_fp { cot } }
+ \@@_case_use:nw { \@@_invalid_operation_o:nw { cot } }
\else: \@@_case_return_same_o:w
\fi:
\s_@@ \@@_chk:w #1#2
@@ -578,4 +574,4 @@
%
% \PrintChanges
%
-% \PrintIndex \ No newline at end of file
+% \PrintIndex