aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-10-25 14:16:35 -0700
committerChris Robinson <[email protected]>2012-10-25 14:16:35 -0700
commitc802bfccef732cac9e9cd31185e759eeb1f521f6 (patch)
treeae947bdb539f44ca97e9662466b8f5459c2e82a9
parentfae4959db3228abceb110b842ceac30dce1e8de8 (diff)
Remove the float math wrapper functions
-rw-r--r--CMakeLists.txt11
-rw-r--r--OpenAL32/Include/alu.h55
-rw-r--r--config.h.in33
3 files changed, 0 insertions, 99 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 72b0b22c..146bc572 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -267,17 +267,6 @@ CHECK_SYMBOL_EXISTS(aligned_alloc stdlib.h HAVE_ALIGNED_ALLOC)
CHECK_SYMBOL_EXISTS(posix_memalign stdlib.h HAVE_POSIX_MEMALIGN)
CHECK_SYMBOL_EXISTS(_aligned_malloc malloc.h HAVE__ALIGNED_MALLOC)
CHECK_SYMBOL_EXISTS(lrintf math.h HAVE_LRINTF)
-CHECK_SYMBOL_EXISTS(powf math.h HAVE_POWF)
-CHECK_SYMBOL_EXISTS(sqrtf math.h HAVE_SQRTF)
-CHECK_SYMBOL_EXISTS(cosf math.h HAVE_COSF)
-CHECK_SYMBOL_EXISTS(sinf math.h HAVE_SINF)
-CHECK_SYMBOL_EXISTS(acosf math.h HAVE_ACOSF)
-CHECK_SYMBOL_EXISTS(asinf math.h HAVE_ASINF)
-CHECK_SYMBOL_EXISTS(atanf math.h HAVE_ATANF)
-CHECK_SYMBOL_EXISTS(atan2f math.h HAVE_ATAN2F)
-CHECK_SYMBOL_EXISTS(fabsf math.h HAVE_FABSF)
-CHECK_SYMBOL_EXISTS(log10f math.h HAVE_LOG10F)
-CHECK_SYMBOL_EXISTS(floorf math.h HAVE_FLOORF)
IF(HAVE_FENV_H)
CHECK_SYMBOL_EXISTS(fesetround fenv.h HAVE_FESETROUND)
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 32ea0047..e71ee129 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -21,61 +21,6 @@
#endif
-#ifndef HAVE_POWF
-static __inline float powf(float x, float y)
-{ return (float)pow(x, y); }
-#endif
-
-#ifndef HAVE_SQRTF
-static __inline float sqrtf(float x)
-{ return (float)sqrt(x); }
-#endif
-
-#ifndef HAVE_COSF
-static __inline float cosf(float x)
-{ return (float)cos(x); }
-#endif
-
-#ifndef HAVE_SINF
-static __inline float sinf(float x)
-{ return (float)sin(x); }
-#endif
-
-#ifndef HAVE_ACOSF
-static __inline float acosf(float x)
-{ return (float)acos(x); }
-#endif
-
-#ifndef HAVE_ASINF
-static __inline float asinf(float x)
-{ return (float)asin(x); }
-#endif
-
-#ifndef HAVE_ATANF
-static __inline float atanf(float x)
-{ return (float)atan(x); }
-#endif
-
-#ifndef HAVE_ATAN2F
-static __inline float atan2f(float x, float y)
-{ return (float)atan2(x, y); }
-#endif
-
-#ifndef HAVE_FABSF
-static __inline float fabsf(float x)
-{ return (float)fabs(x); }
-#endif
-
-#ifndef HAVE_LOG10F
-static __inline float log10f(float x)
-{ return (float)log10(x); }
-#endif
-
-#ifndef HAVE_FLOORF
-static __inline float floorf(float x)
-{ return (float)floor(x); }
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/config.h.in b/config.h.in
index 30b3e5e5..21fd7c4c 100644
--- a/config.h.in
+++ b/config.h.in
@@ -71,39 +71,6 @@
/* Define if we have the lrintf function */
#cmakedefine HAVE_LRINTF
-/* Define if we have the powf function */
-#cmakedefine HAVE_POWF
-
-/* Define if we have the sqrtf function */
-#cmakedefine HAVE_SQRTF
-
-/* Define if we have the cosf function */
-#cmakedefine HAVE_COSF
-
-/* Define if we have the sinf function */
-#cmakedefine HAVE_SINF
-
-/* Define if we have the acosf function */
-#cmakedefine HAVE_ACOSF
-
-/* Define if we have the asinf function */
-#cmakedefine HAVE_ASINF
-
-/* Define if we have the atanf function */
-#cmakedefine HAVE_ATANF
-
-/* Define if we have the atan2f function */
-#cmakedefine HAVE_ATAN2F
-
-/* Define if we have the fabsf function */
-#cmakedefine HAVE_FABSF
-
-/* Define if we have the log10f function */
-#cmakedefine HAVE_LOG10F
-
-/* Define if we have the floorf function */
-#cmakedefine HAVE_FLOORF
-
/* Define if we have the strtof function */
#cmakedefine HAVE_STRTOF