diff --git a/libs/main/math/pimathbase.h b/libs/main/math/pimathbase.h index 6691f576..6d5b9169 100644 --- a/libs/main/math/pimathbase.h +++ b/libs/main/math/pimathbase.h @@ -103,7 +103,7 @@ inline int sign(const double & x) {return (x < 0. ) ? -1 : (x > 0. ? 1 : 0);} inline int sign(const ldouble & x) {return (x < 0.L) ? -1 : (x > 0.L ? 1 : 0);} inline int pow2 (const int p ) {return 1 << p;} -inline float pow10(const int & e) {return powf(10.f, e);} +inline float pow10(const float & e) {return powf(10.f, e);} inline double pow10(const double & e) {return pow (10. , e);} inline ldouble pow10(const ldouble & e) {return powl(10.L, e);} // clang-format on