From e0500490bc92e6e851df6f007b1f0943db305846 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 17 May 2007 18:50:57 +0000 Subject: 2007-05-17 Yaakov Selkowitz users.sourceforge.net> * libm/common/Makefile.am: Add support for exp10, exp10f, pow10, and pow10f functions. * libm/common/Makefile.in: Regenerated. * libm/common/s_pow10.c: New file. * libm/common/sf_pow10.c: Ditto. * libm/common/s_exp10.c: Ditto. * libm/common/sf_exp10.c: Ditto. * libc/include/math.h [!pow10]: New pow10 prototype. [!pow10f]: New pow10f prototype. [!exp10]: New exp10 prototype. [!exp10f]: New exp10f prototype. --- newlib/libc/include/math.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'newlib/libc/include/math.h') diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index f161fe7ba..d8987cb48 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -233,6 +233,14 @@ extern double fmin _PARAMS((double, double)); extern double fma _PARAMS((double, double, double)); extern void sincos _PARAMS((double, double *, double *)); +/* GNU extensions */ +# ifndef exp10 +extern double exp10 _PARAMS((double)); +# endif +# ifndef pow10 +extern double pow10 _PARAMS((double)); +# endif + #ifndef __math_68881 extern double log1p _PARAMS((double)); extern double expm1 _PARAMS((double)); @@ -335,6 +343,14 @@ extern float log1pf _PARAMS((float)); extern float expm1f _PARAMS((float)); extern void sincosf _PARAMS((float, float *, float *)); +/* GNU extensions */ +# ifndef exp10f +extern float exp10f _PARAMS((float)); +# endif +# ifndef pow10f +extern float pow10f _PARAMS((float)); +# endif + #ifndef _REENT_ONLY extern float acoshf _PARAMS((float)); extern float atanhf _PARAMS((float)); -- cgit v1.2.3