diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2009-07-09 17:04:56 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2009-07-09 17:04:56 +0000 |
commit | 664f00763b20bcf07de6f06d37c3152061132c6e (patch) | |
tree | b989e9993b67eda54606821755662b10e72dd0f8 /newlib/libc/include/math.h | |
parent | b2cbcab19f75032ba62afe9a464c70894d78a9c9 (diff) | |
download | cygnal-664f00763b20bcf07de6f06d37c3152061132c6e.tar.gz cygnal-664f00763b20bcf07de6f06d37c3152061132c6e.tar.bz2 cygnal-664f00763b20bcf07de6f06d37c3152061132c6e.zip |
2009-07-09 Craig Howland <howland@LGSInnovations.com>
* libm/math/ef_scalb.c: Replace isnanf() (pre-C99 function call) with
isnan() (C99 macro).
* libm/math/wf_log.c: Ditto.
* libm/math/wf_j0.c: Ditto.
* libm/math/wf_sqrt.c: Ditto.
* libm/math/wf_pow.c: Ditto.
* libm/math/wf_fmod.c: Ditto.
* libm/math/wf_remainder.c: Ditto.
* libm/math/wf_scalb.c: Ditto.
* libm/math/wf_atanh.c: Ditto.
* libm/math/wf_cosh.c: Ditto.
* libm/math/wf_acos.c: Ditto.
* libm/math/wf_acosh.c: Ditto.
* libm/math/wf_jn.c: Ditto.
* libm/math/wf_log10.c: Ditto.
* libm/math/wf_asin.c: Ditto.
* libm/math/wf_j1.c: Ditto.
* libm/common/sf_isnan.c: Add #include <ieeefp.h>, fix comment.
* libm/common/sf_isinf.c: Add #include <ieeefp.h>, adjust comment to
match that from s_isinf.c.
* libc/include/machine/ieeefp.h: Simplify isinf and isnan macros to
remove un-necessary extension use (in a similar manner to as was
recently done in math.h).
* libc/include/math.h: Remove isnanf and isinff prototypes (are in
ieeefp.h).
* libm/machine/spu/sf_isinf.c: Fix comment (remove <math.h>).
Diffstat (limited to 'newlib/libc/include/math.h')
-rw-r--r-- | newlib/libc/include/math.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index ca65a44b2..c1bc7b04a 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -195,7 +195,8 @@ extern int __signbitd (double x); * arguments. C99 specifies that these names are reserved for macros * supporting multiple floating point types. Thus, they are * now defined as macros. Implementations of the old functions - * taking double arguments still exist for compatibility purposes. */ + * taking double arguments still exist for compatibility purposes + * (prototypes for them are in <ieeefp.h>). */ #ifndef isinf #define isinf(y) (fpclassify(y) == FP_INFINITE) #endif @@ -329,8 +330,6 @@ extern float fmaf _PARAMS((float, float, float)); extern float infinityf _PARAMS((void)); extern float nanf _PARAMS((const char *)); -extern int isnanf _PARAMS((float)); -extern int isinff _PARAMS((float)); extern int finitef _PARAMS((float)); extern float copysignf _PARAMS((float, float)); extern int ilogbf _PARAMS((float)); |