From 44784f2b88e0d16c6942dc26b2a8c0823539aa8f Mon Sep 17 00:00:00 2001 From: Frank Gaede <frank.gaede@desy.de> Date: Tue, 5 Jul 2016 11:54:32 +0000 Subject: [PATCH] replace exp10(a) with pow(10,a) --- DDCore/src/Evaluator/setStdMath.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DDCore/src/Evaluator/setStdMath.cpp b/DDCore/src/Evaluator/setStdMath.cpp index ece8f7081..33daf23ab 100644 --- a/DDCore/src/Evaluator/setStdMath.cpp +++ b/DDCore/src/Evaluator/setStdMath.cpp @@ -29,7 +29,8 @@ static double eval_cosh (double a) { return std::cosh(a); } static double eval_tanh (double a) { return std::tanh(a); } static double eval_exp (double a) { return std::exp(a); } static double eval_exp2 (double a) { return std::exp2(a); } -static double eval_exp10(double a) { return ::exp10(a); } +//static double eval_exp10(double a) { return ::exp10(a); } +static double eval_exp10(double a) { return ::pow(10.,a) ; } static double eval_expm1(double a) { return std::expm1(a); } static double eval_log (double a) { return std::log(a); } static double eval_logb (double a) { return std::logb(a); } -- GitLab