summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/tex/pgfmathfloat.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/base/tex/pgfmathfloat.code.tex')
-rw-r--r--graphics/pgf/base/tex/pgfmathfloat.code.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/pgf/base/tex/pgfmathfloat.code.tex b/graphics/pgf/base/tex/pgfmathfloat.code.tex
index bda29cb51b..a3a36d8254 100644
--- a/graphics/pgf/base/tex/pgfmathfloat.code.tex
+++ b/graphics/pgf/base/tex/pgfmathfloat.code.tex
@@ -1,4 +1,4 @@
-% Copyright 2008 by Christian Feuersaenger
+% Copyright 2019 by Christian Feuersaenger
%
% This file may be distributed and/or modified
%
@@ -1214,7 +1214,7 @@
fixed zerofill=false,% useless here!
sci zerofill=false}%
\ifx\pgfmathprintnumber@issci\pgfmathprintnumber@RELATIVE@issci
- \pgfmath@error{The '/pgf/number format/every relative' style should set a valid display style}%
+ \pgfmath@error{The '/pgf/number format/every relative' style should set a valid display style}{}%
\fi
\let\pgfmathfloat@round@precision@orig=\pgfmathfloat@round@precision
\def\pgfmathfloat@round@precision{9999}%
@@ -1312,7 +1312,7 @@
% The numerator and denominator is always a number (not empty)
\def\pgfmathfloatgetfrac#1{%
\pgfutil@ifundefined{pgfmathfloatmultiply@}{%
- \pgfmath@PackageError{Sorry, the number format 'frac' requires '\string\usetikzlibrary{fpu}' (and, optionally, \string\usepackage{fp}) in order to work correctly}%
+ \pgfmath@error{Sorry, the number format 'frac' requires '\string\usetikzlibrary{fpu}' (and, optionally, \string\usepackage{fp}) in order to work correctly}{}%
\edef\pgfmathresult{{#1}{0}{1}}%
}{%
\pgfmathfloatgetfrac@{#1}%
@@ -1435,7 +1435,7 @@
\pgfmathfloattofixed\pgfmathresult
\pgf@xa=\pgfmathresult pt
\multiply\pgf@xa by\pgfmathresultdenom
- \edef\pgfmathfloat@scaled@numerator{\pgf@sys@tonumber\pgf@xa}%
+ \edef\pgfmathfloat@scaled@numerator{\pgfmath@tonumber\pgf@xa}%
\expandafter\pgfmathfloat@loc@@to@int\pgfmathfloat@scaled@numerator\relax{\pgfmathresultnumerator}%
\fi
\ifpgfmathprintnumber@frac@whole