diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h index d90a98bcc..5abdf5032 100644 --- a/core/math/math_funcs.h +++ b/core/math/math_funcs.h @@ -127,6 +127,9 @@ public: static _ALWAYS_INLINE_ double exp(double p_x) { return ::exp(p_x); } static _ALWAYS_INLINE_ float exp(float p_x) { return ::expf(p_x); } + static _ALWAYS_INLINE_ double exp2(double p_x) { return ::exp2(p_x); } + static _ALWAYS_INLINE_ float exp2(float p_x) { return ::exp2f(p_x); } + static _ALWAYS_INLINE_ double erf(double p_x) { return ::erf(p_x); } static _ALWAYS_INLINE_ float erf(float p_x) { return ::erff(p_x); }