diff options
author | Karl Berry <karl@freefriends.org> | 2019-11-24 23:59:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-11-24 23:59:55 +0000 |
commit | 7b3c4392f6b58dc3a7d6a50c53e36187bd60fd69 (patch) | |
tree | 02a720d60a7743884984570e704421950d649774 /Build/source/texk/dvisvgm/dvisvgm-src | |
parent | 8b960517e3a2603d01e124e2112d43ea86d6d782 (diff) |
<cmath> for pow, from Marting
git-svn-id: svn://tug.org/texlive/trunk@52916 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-src/src/GraphicsPath.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/GraphicsPath.hpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/GraphicsPath.hpp index 78b29d46307..bf09a37d095 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-src/src/GraphicsPath.hpp +++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/GraphicsPath.hpp @@ -22,6 +22,7 @@ #include <array> #include <cctype> +#include <cmath> #include <deque> #include <ostream> #include <type_traits> @@ -687,7 +688,7 @@ class GraphicsPath { * @param[in] actions template methods called by each iteration step * @param[in] optimize if true, shorthand drawing commands (hlineto, vlineto,...) are considered */ void iterate (IterationActions &actions, bool optimize) const { - double eps = XMLString::DECIMAL_PLACES > 0 ? pow(10, -XMLString::DECIMAL_PLACES) : 1e-7; + double eps = XMLString::DECIMAL_PLACES > 0 ? std::pow(10, -XMLString::DECIMAL_PLACES) : 1e-7; IterationVisitor visitor(actions, optimize, eps); for (const CommandVariant &cmd : _commands) { if (actions.quit()) |