diff options
author | Norbert Preining <norbert@preining.info> | 2023-10-24 03:01:00 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-10-24 03:01:00 +0000 |
commit | 7fc03b60d145610ff8e62c3d3a0d5fe037f6597d (patch) | |
tree | 5a571652d167dc38829a038550b6a7fbb8b57b2c /macros/latex/contrib/l3kernel/l3fp-logic.dtx | |
parent | 6864ad38da5412fd65e655da307e368cea282091 (diff) |
CTAN sync 202310240300
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3fp-logic.dtx')
-rw-r--r-- | macros/latex/contrib/l3kernel/l3fp-logic.dtx | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/macros/latex/contrib/l3kernel/l3fp-logic.dtx b/macros/latex/contrib/l3kernel/l3fp-logic.dtx index 2f439c2925..5e98d6b62c 100644 --- a/macros/latex/contrib/l3kernel/l3fp-logic.dtx +++ b/macros/latex/contrib/l3kernel/l3fp-logic.dtx @@ -40,7 +40,7 @@ % {latex-team@latex-project.org}^^A % }^^A % } -% \date{Released 2023-10-10} +% \date{Released 2023-10-23} % % \maketitle % @@ -163,7 +163,7 @@ % \end{macro} % \end{macro} % -% \begin{macro}[EXP]{\@@_compare_back_any:ww, \@@_compare_back:ww, \@@_compare_nan:w} +% \begin{macro}[EXP]{\@@_compare_back:ww, \@@_bcmp:ww, \@@_compare_back_any:ww, \@@_compare_nan:w} % \begin{quote} % \cs{@@_compare_back_any:ww} \meta{y} |;| \meta{x} |;| % \end{quote} @@ -178,6 +178,17 @@ % a different type, the highest type is a larger number. Finally, if % $y\leq 0$, then $x>y$, unless both are zero. % \begin{macrocode} +\cs_new:Npn \@@_compare_back:ww #1#2; #3#4; + { + \cs:w + @@ + \@@_type_from_scan:N #1 + _bcmp + \@@_type_from_scan:N #3 + :ww + \cs_end: + #1#2; #3#4; + } \cs_new:Npn \@@_compare_back_any:ww #1#2; #3 { \@@_if_type_fp:NTwFw @@ -195,7 +206,7 @@ } #1#2 ; #3 } -\cs_new:Npn \@@_compare_back:ww +\cs_new:Npn \@@_bcmp:ww \s_@@ \@@_chk:w #1 #2 #3; \s_@@ \@@_chk:w #4 #5 #6; { |