diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2009-04-24 22:49:55 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2009-04-24 22:49:55 +0000 |
commit | 35f31b6a983710aa9a2bd7e308d1567f326f3f5f (patch) | |
tree | bfdf4f80ea36876d228aec85956bae902b94ae96 /newlib/libc/include/math.h | |
parent | de194872240d47137474f610afca16d2ee659549 (diff) | |
download | cygnal-35f31b6a983710aa9a2bd7e308d1567f326f3f5f.tar.gz cygnal-35f31b6a983710aa9a2bd7e308d1567f326f3f5f.tar.bz2 cygnal-35f31b6a983710aa9a2bd7e308d1567f326f3f5f.zip |
2009-04-24 Jeff johnston <jjohnstn@redhat.com>
* configure.in: Add configuration test for long double equals dbl
and set flag _LDBL_EQ_DBL if true.
* configure: Regenerated.
* newlib.hin: Add _LDBL_EQ_DBL flag.
* libc/include/math.h: Use _LDBL_EQ_DBL flag instead of
_HAVE_LDBL_MATH.
* libc/include/stdlib.h: Use _LDBL_EQ_DBL flag instead of
_HAVE_LDBL_STDLIB.
* libc/common/local.h: Remove _LDBL_EQ_DBL flag setting.
* libc/stdlib/local.h: Ditto.
Diffstat (limited to 'newlib/libc/include/math.h')
-rw-r--r-- | newlib/libc/include/math.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index 87b2626b5..3efdb3675 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -334,8 +334,8 @@ extern float log2f _PARAMS((float)); extern float hypotf _PARAMS((float, float)); #endif /* ! defined (_REENT_ONLY) */ -/* On platforms where long double math functions are supported. */ -#ifdef _HAVE_LDBL_MATH +/* On platforms where long double equals double. */ +#ifdef _LDBL_EQ_DBL /* Reentrant ANSI C functions. */ #ifndef __math_68881 extern long double atanl _PARAMS((long double)); @@ -400,14 +400,14 @@ extern long double lgammal _PARAMS((long double)); extern long double erfl _PARAMS((long double)); extern long double erfcl _PARAMS((long double)); #endif /* ! defined (_REENT_ONLY) */ -#else /* !_HAVE_LDBL_MATH */ +#else /* !_LDBL_EQ_DBL */ #ifdef __i386__ /* Other long double precision functions. */ extern _LONG_DOUBLE rintl _PARAMS((_LONG_DOUBLE)); extern long int lrintl _PARAMS((_LONG_DOUBLE)); extern _LONG_LONG_TYPE llrintl _PARAMS((_LONG_DOUBLE)); #endif /* __i386__ */ -#endif /* !_HAVE_LDBL_MATH */ +#endif /* !_LDBL_EQ_DBL */ #endif /* !defined (__STRICT_ANSI__) || defined(__cplusplus) || __STDC_VERSION__ >= 199901L */ |