diff options
author | Karl Berry <karl@freefriends.org> | 2016-10-19 20:38:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-10-19 20:38:20 +0000 |
commit | 52b787d36c60fda90673669dd2809c95c1fdfca5 (patch) | |
tree | beb7faf87e1ab5be65f7437e500619b20eba20a1 /Master/texmf-dist/source/latex/l3kernel/l3fp-traps.dtx | |
parent | 97a401ad817da2dafd1069df9d87a28ed39df69b (diff) |
l3 (19oct16)
git-svn-id: svn://tug.org/texlive/trunk@42306 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3fp-traps.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3fp-traps.dtx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-traps.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-traps.dtx index 3e7e396c902..d273a3e7cba 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-traps.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-traps.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment %% -%% File: l3fp-traps.dtx Copyright (C) 2011-2014 The LaTeX3 Project +%% File: l3fp-traps.dtx Copyright (C) 2011-2014,2016 The LaTeX3 Project %% %% It may be distributed and/or modified under the conditions of the %% LaTeX Project Public License (LPPL), either version 1.3c of this @@ -36,7 +36,7 @@ % %<*driver> \documentclass[full]{l3doc} -\GetIdInfo$Id: l3fp-traps.dtx 5354 2014-08-23 01:35:39Z bruno $ +\GetIdInfo$Id: l3fp-traps.dtx 6596 2016-06-13 21:29:58Z joseph $ {L3 Floating-point exception trapping} \begin{document} \DocInput{\jobname.dtx} @@ -200,11 +200,11 @@ % produces as a result its first argument, possibly with % post-expansion. % \begin{macrocode} -\cs_new_protected_nopar:Npn \@@_trap_invalid_operation_set_error: +\cs_new_protected:Npn \@@_trap_invalid_operation_set_error: { \@@_trap_invalid_operation_set:N \prg_do_nothing: } -\cs_new_protected_nopar:Npn \@@_trap_invalid_operation_set_flag: +\cs_new_protected:Npn \@@_trap_invalid_operation_set_flag: { \@@_trap_invalid_operation_set:N \use_none:nnnnn } -\cs_new_protected_nopar:Npn \@@_trap_invalid_operation_set_none: +\cs_new_protected:Npn \@@_trap_invalid_operation_set_none: { \@@_trap_invalid_operation_set:N \use_none:nnnnnnn } \cs_new_protected:Npn \@@_trap_invalid_operation_set:N #1 { @@ -250,11 +250,11 @@ % cases, the function must produce a result, namely its first % argument, $\pm\infty$ or \nan{}. % \begin{macrocode} -\cs_new_protected_nopar:Npn \@@_trap_division_by_zero_set_error: +\cs_new_protected:Npn \@@_trap_division_by_zero_set_error: { \@@_trap_division_by_zero_set:N \prg_do_nothing: } -\cs_new_protected_nopar:Npn \@@_trap_division_by_zero_set_flag: +\cs_new_protected:Npn \@@_trap_division_by_zero_set_flag: { \@@_trap_division_by_zero_set:N \use_none:nnnnn } -\cs_new_protected_nopar:Npn \@@_trap_division_by_zero_set_none: +\cs_new_protected:Npn \@@_trap_division_by_zero_set_none: { \@@_trap_division_by_zero_set:N \use_none:nnnnnnn } \cs_new_protected:Npn \@@_trap_division_by_zero_set:N #1 { @@ -308,19 +308,19 @@ % receive $\pm 0$); then we cannot do better than simply say an % overflow or underflow occurred. % \begin{macrocode} -\cs_new_protected_nopar:Npn \@@_trap_overflow_set_error: +\cs_new_protected:Npn \@@_trap_overflow_set_error: { \@@_trap_overflow_set:N \prg_do_nothing: } -\cs_new_protected_nopar:Npn \@@_trap_overflow_set_flag: +\cs_new_protected:Npn \@@_trap_overflow_set_flag: { \@@_trap_overflow_set:N \use_none:nnnnn } -\cs_new_protected_nopar:Npn \@@_trap_overflow_set_none: +\cs_new_protected:Npn \@@_trap_overflow_set_none: { \@@_trap_overflow_set:N \use_none:nnnnnnn } \cs_new_protected:Npn \@@_trap_overflow_set:N #1 { \@@_trap_overflow_set:NnNn #1 { overflow } \@@_inf_fp:N { inf } } -\cs_new_protected_nopar:Npn \@@_trap_underflow_set_error: +\cs_new_protected:Npn \@@_trap_underflow_set_error: { \@@_trap_underflow_set:N \prg_do_nothing: } -\cs_new_protected_nopar:Npn \@@_trap_underflow_set_flag: +\cs_new_protected:Npn \@@_trap_underflow_set_flag: { \@@_trap_underflow_set:N \use_none:nnnnn } -\cs_new_protected_nopar:Npn \@@_trap_underflow_set_none: +\cs_new_protected:Npn \@@_trap_underflow_set_none: { \@@_trap_underflow_set:N \use_none:nnnnnnn } \cs_new_protected:Npn \@@_trap_underflow_set:N #1 { \@@_trap_overflow_set:NnNn #1 { underflow } \@@_zero_fp:N { 0 } } @@ -375,7 +375,7 @@ % Convenient short-hands for returning \cs{c_nan_fp} for a unary or % binary operation, and expanding after. % \begin{macrocode} -\cs_new_nopar:Npn \@@_invalid_operation_o:nw +\cs_new:Npn \@@_invalid_operation_o:nw { \@@_invalid_operation:nnw { \exp_after:wN \c_nan_fp } } \cs_generate_variant:Nn \@@_invalid_operation_o:nw { f } % \end{macrocode} |