Added exp2 to the Math singleton.

This commit is contained in:
Relintai 2024-03-18 11:04:37 +01:00
parent f270c67ca1
commit e17cc864bc

View File

@ -127,6 +127,9 @@ public:
static _ALWAYS_INLINE_ double exp(double p_x) { return ::exp(p_x); } 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_ 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_ double erf(double p_x) { return ::erf(p_x); }
static _ALWAYS_INLINE_ float erf(float p_x) { return ::erff(p_x); } static _ALWAYS_INLINE_ float erf(float p_x) { return ::erff(p_x); }