From 17ecab12a81003db4362156044a75df35defa227 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 18 Dec 2012 22:41:53 +0000 Subject: [PATCH] 2012-12-18 Jeff Johnston * libc/include/math.h: Remove the log2f macro. --- newlib/ChangeLog | 4 ++++ 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 + + * libc/include/math.h: Remove the log2f macro. + 2012-12-18 Craig Howland * 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) */