diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2012-12-19 02:41:53 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2012-12-19 02:41:53 +0400 |
commit | 17ecab12a81003db4362156044a75df35defa227 (patch) | |
tree | 8546928fbb390145e91012ffeab822673d886ba9 /newlib | |
parent | b060af2264c9cecd960d19cd9f223d6b66ff1acc (diff) |
2012-12-18 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/math.h: Remove the log2f macro.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/math.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 887c18a9c..62c36c85f 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2012-12-18 Jeff Johnston <jjohnstn@redhat.com> + + * libc/include/math.h: Remove the log2f macro. + 2012-12-18 Craig Howland <howland@LGSInnovations.com> * libc/include/math.h: Add recognition of values 1 and 2 for diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index 47725de37..606fecfa9 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -378,9 +378,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) */ |