summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3packages/xfp.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/l3packages/xfp.dtx')
-rw-r--r--macros/latex/contrib/l3packages/xfp.dtx20
1 files changed, 14 insertions, 6 deletions
diff --git a/macros/latex/contrib/l3packages/xfp.dtx b/macros/latex/contrib/l3packages/xfp.dtx
index c3ba90bb14..5863f1579d 100644
--- a/macros/latex/contrib/l3packages/xfp.dtx
+++ b/macros/latex/contrib/l3packages/xfp.dtx
@@ -2,7 +2,7 @@
%
%% File: xfp.dtx
%
-% Copyright (C) 2017-2021 The LaTeX Project
+% Copyright (C) 2017-2022 The LaTeX Project
%
% It may be distributed and/or modified under the conditions of the
% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -63,12 +63,17 @@
% }^^A
% }
%
-% \date{Released 2021-11-12}
+% \date{Released 2022-01-12}
%
% \maketitle
%
% \begin{documentation}
%
+% The two functions provided by this package are part of the \LaTeX{}
+% format starting with 2022-06-01 release. This package is
+% therefore no longer needed and only provided to be able to
+% process older documents loading.
+%
% This package provides a \LaTeXe{} document-level interface to the \LaTeX{}3
% floating point unit (part of \pkg{expl3}). It also provides a parallel
% integer expression interface for convenience.
@@ -166,21 +171,24 @@
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplPackage{xfp}{2021-11-12}{}
+\ProvidesExplPackage{xfp}{2022-01-12}{}
{L3 Floating point unit}
% \end{macrocode}
%
% \begin{macro}{\fpeval}
-% A document level wrapper around the code level function.
+% A document level wrapper around the code level function. This
+% definition will be moved to the \LaTeXe{} format so we just
+% ``provide'' it in case this package gets loaded in documents
+% processed with a new format.
% \begin{macrocode}
-\NewExpandableDocumentCommand \fpeval { m } { \fp_eval:n {#1} }
+\ProvideExpandableDocumentCommand \fpeval { m } { \fp_eval:n {#1} }
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\inteval}
% A second one, this time around an \eTeX{} primitive.
% \begin{macrocode}
-\NewExpandableDocumentCommand \inteval { m } { \int_eval:n {#1} }
+\ProvideExpandableDocumentCommand \inteval { m } { \int_eval:n {#1} }
% \end{macrocode}
% \end{macro}
%