diff options
-rw-r--r-- | mathfuncs_exp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mathfuncs_exp.h b/mathfuncs_exp.h index 99fd063..21c7521 100644 --- a/mathfuncs_exp.h +++ b/mathfuncs_exp.h @@ -114,7 +114,7 @@ namespace vecmathlib { inline realvec_t mathfuncs<realvec_t>::vml_exp10(realvec_t x) { - return exp(RV(M_LN10) * x); + return exp2(RV(M_LOG2E * M_LN10) * x); } template<typename realvec_t> |