summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-11-15 11:50:58 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-11-15 11:50:58 +0100
commit9d06b645790e1445f14e3b19c71d40b3088f4e4f (patch)
treee89f27c0f7bb26342011f29c1c83b8bc723d144b
parent47a94a0979fd5aee2c8416e0197d6ce5926e94ca (diff)
downloadnuttx-9d06b645790e1445f14e3b19c71d40b3088f4e4f.tar.gz
nuttx-9d06b645790e1445f14e3b19c71d40b3088f4e4f.tar.bz2
nuttx-9d06b645790e1445f14e3b19c71d40b3088f4e4f.zip
ARM math.h: Remove commented out code parts
-rw-r--r--nuttx/arch/arm/include/math.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/nuttx/arch/arm/include/math.h b/nuttx/arch/arm/include/math.h
index b9557ad94..24aff97f8 100644
--- a/nuttx/arch/arm/include/math.h
+++ b/nuttx/arch/arm/include/math.h
@@ -2,39 +2,11 @@
#define _MATH_H_
-//#include <sys/reent.h>
#include <machine/ieeefp.h>
#include "_ansi.h"
-//#define _PARAMS(_x) _x
-
_BEGIN_STD_C
-#if 0
-/* __dmath, __fmath, and __ldmath are only here for backwards compatibility
- * in case any code used them. They are no longer used by Newlib, itself,
- * other than legacy. */
-union __dmath
-{
- double d;
- __ULong i[2];
-};
-
-union __fmath
-{
- float f;
- __ULong i[1];
-};
-
-#if defined(_HAVE_LONG_DOUBLE)
-union __ldmath
-{
- long double ld;
- __ULong i[4];
-};
-#endif
-#endif
-
/* Natural log of 2 */
#define _M_LN2 0.693147180559945309417