aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/math_defs.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/math_defs.h b/common/math_defs.h
index 1b24bec4..3e8dbe76 100644
--- a/common/math_defs.h
+++ b/common/math_defs.h
@@ -32,14 +32,6 @@ static const union msvc_inf_hack {
#define HUGE_VALF (msvc_inf_union.f)
#endif
-#ifndef HAVE_LOG2F
-static inline float my_log2f(float f)
-{
- return logf(f) / logf(2.0f);
-}
-#define log2f my_log2f
-#endif
-
#ifndef HAVE_CBRTF
static inline float my_cbrtf(float f)
{