summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pgfplots/pgfmathlog.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgfplots/pgfmathlog.sty')
-rw-r--r--Master/texmf-dist/tex/latex/pgfplots/pgfmathlog.sty24
1 files changed, 2 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/pgfplots/pgfmathlog.sty b/Master/texmf-dist/tex/latex/pgfplots/pgfmathlog.sty
index acb02e3b143..81e252bbe27 100644
--- a/Master/texmf-dist/tex/latex/pgfplots/pgfmathlog.sty
+++ b/Master/texmf-dist/tex/latex/pgfplots/pgfmathlog.sty
@@ -39,6 +39,8 @@
\ProvidesPackage{pgfmathlog}[2008/26/01 Version 0.9.]
\RequirePackage{pgf}[2007/01/01]
+\RequirePackage{pgfplotshelpers}[2008/31/01]
+
% Computes a normalised floating point representation for #1 of the
% form
% [+-]X.XXXXXXX*10^C
@@ -377,28 +379,6 @@
\pgfmathlog@newton{#1}%
}
-\def\pgfmathlog@tonumber#1pt{#1}
-
-% Invokes command #1 with #2 without the 'pt' suffix.
-\def\invokepgf@math@one#1#2{%
- %\edef\pgfmath@resulttemp{\pgf@sys@tonumber{#2}}%
- %\expandafter#1\expandafter{\pgfmath@resulttemp}%
- \edef\pgfmath@resulttemp{{\pgf@sys@tonumber{#2}}}%
- \expandafter#1\pgfmath@resulttemp%
-}
-
-% Expands #2 using \edef and invokes #1 with the resulting string.
-%
-% Example:
-% \pgfmath@y=7.9pt
-% \pgfmathlog@invoke@expanded\pgfmathexp@{{\pgf@sys@tonumber{\pgfmath@y}}}%
-% will invoke
-% \pgfmathexp@{7.9}
-\def\pgfmathlog@invoke@expanded#1#2{%
- \edef\pgfmath@resulttemp{#2}%
- \expandafter#1\pgfmath@resulttemp
-}
-
% This implementation of log(X) is done with a newton method applied to x-exp(y) = 0.
% The implementation \pgfmathexp is used for exp(y).
%