summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3fp-assign.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3fp-assign.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3fp-assign.dtx15
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-assign.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-assign.dtx
index d696a2ba2e5..71433549d51 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3fp-assign.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-assign.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-%% File: l3fp-assign.dtx Copyright (C) 2011-2016 The LaTeX3 project
+%% File: l3fp-assign.dtx Copyright (C) 2011-2017 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
@@ -22,7 +22,7 @@
%
%<*driver>
\documentclass[full]{l3doc}
-\GetIdInfo$Id: l3fp-assign.dtx 6805 2016-12-28 22:15:52Z joseph $
+\GetIdInfo$Id: l3fp-assign.dtx 6906 2017-02-12 20:07:58Z bruno $
{L3 Floating-point assignments}
\begin{document}
\DocInput{\jobname.dtx}
@@ -181,6 +181,17 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\fp_log:N, \fp_log:c, \fp_log:n}
+% Redirect output of \cs{fp_show:N} and \cs{fp_show:n} to the log.
+% \begin{macrocode}
+\cs_new_protected:Npn \fp_log:N
+ { \__msg_log_next: \fp_show:N }
+\cs_new_protected:Npn \fp_log:n
+ { \__msg_log_next: \fp_show:n }
+\cs_generate_variant:Nn \fp_log:N { c }
+% \end{macrocode}
+% \end{macro}
+%
% \subsection{Some useful constants and scratch variables}
%
% \begin{variable}{\c_one_fp, \c_e_fp}