aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-14 17:08:14 -0800
committerChris Robinson <[email protected]>2018-11-14 17:08:14 -0800
commit3b1b029a7597d5b5f571f819f0bab4b8a33e5810 (patch)
tree0356ba71e230c5d16a7eb6d66ac1845cc7977aea /common
parentc4d3444a6dc2ff365dbbf568313719f15ebd7fac (diff)
Remove some now-unused function checks
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)
{