summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-11-11 18:04:23 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-11-11 18:04:23 +0100
commit08564e1d8194a30157f5fd35e29b9cc397b38dd2 (patch)
tree917ef03d455ce1d0509047fe9627d9529729ce08
parent703095927cecd889ad28e28a356a1870b4e9759d (diff)
downloadpx4-nuttx-08564e1d8194a30157f5fd35e29b9cc397b38dd2.tar.gz
px4-nuttx-08564e1d8194a30157f5fd35e29b9cc397b38dd2.tar.bz2
px4-nuttx-08564e1d8194a30157f5fd35e29b9cc397b38dd2.zip
Remove parts that are now implemented in NuttX from math.h
-rw-r--r--nuttx/arch/arm/include/math.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/nuttx/arch/arm/include/math.h b/nuttx/arch/arm/include/math.h
index b9557ad94..69175b23d 100644
--- a/nuttx/arch/arm/include/math.h
+++ b/nuttx/arch/arm/include/math.h
@@ -279,9 +279,6 @@ extern double lgamma _PARAMS((double));
extern double erf _PARAMS((double));
extern double erfc _PARAMS((double));
extern double log2 _PARAMS((double));
-#if !defined(__cplusplus)
-#define log2(x) (log (x) / _M_LN2)
-#endif
#ifndef __math_68881
extern double hypot _PARAMS((double, double));
@@ -359,9 +356,6 @@ extern float lgammaf _PARAMS((float));
extern float erff _PARAMS((float));
extern float erfcf _PARAMS((float));
extern float log2f _PARAMS((float));
-#if !defined(__cplusplus)
-#define log2f(x) (logf (x) / (float_t) _M_LN2)
-#endif
extern float hypotf _PARAMS((float, float));
#endif /* ! defined (_REENT_ONLY) */