Added log10 to the Math class.

This commit is contained in:
Relintai 2023-04-22 11:00:24 +02:00
parent 922a519a52
commit 4ab9936fc8

View File

@ -108,6 +108,9 @@ public:
static _ALWAYS_INLINE_ double log1p(double p_x) { return ::log1p(p_x); }
static _ALWAYS_INLINE_ float log1p(float p_x) { return ::log1pf(p_x); }
static _ALWAYS_INLINE_ double log10(double p_x) { return ::log10f(p_x); }
static _ALWAYS_INLINE_ float log10(float p_x) { return ::log10(p_x); }
static _ALWAYS_INLINE_ double log2(double p_x) { return ::log2(p_x); }
static _ALWAYS_INLINE_ float log2(float p_x) { return ::log2f(p_x); }