aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/include/machine
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-04-17 20:54:19 +0000
committerJeff Johnston <jjohnstn@redhat.com>2009-04-17 20:54:19 +0000
commitad9bb48fbe7700c8050a698942f7a9c4f097a91c (patch)
tree350a39a74d0b48cf4b13060b97708c9743037edb /newlib/libc/include/machine
parent34d6b436e29b758213c977e6bf2dfa9c908ebe3a (diff)
downloadnewlib-ad9bb48fbe7700c8050a698942f7a9c4f097a91c.zip
newlib-ad9bb48fbe7700c8050a698942f7a9c4f097a91c.tar.gz
newlib-ad9bb48fbe7700c8050a698942f7a9c4f097a91c.tar.bz2
2009-04-17 Ken Werner <ken.werner@de.ibm.com>
* libc/include/machine/ieeefp.h: _LDBL_EQ_DBL check fixed. * libc/include/math.h (llrintl): Declare. * libm/common/llrintl.c: New File. * libm/common/Makefile.am: New File added. * libm/common/Makefile.in: Regenerate.
Diffstat (limited to 'newlib/libc/include/machine')
-rw-r--r--newlib/libc/include/machine/ieeefp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h
index bbbec54..643111b 100644
--- a/newlib/libc/include/machine/ieeefp.h
+++ b/newlib/libc/include/machine/ieeefp.h
@@ -333,8 +333,8 @@
/* Check if long double is as wide as double. */
#if (!defined(__STRICT_ANSI__) || __STDC_VERSION__ > 199901L || \
- defined(__cplusplus)) && defined(LDBL_MANT_DIG) && \
- (DBL_MANT_DIG == LDBL_MANT_DIG && LDBL_MIN_EXP == DBL_MIN_EXP && \
- LDBL_MAX_EXP == DBL_MAX_EXP)
+ defined(__cplusplus)) && defined(__LDBL_MANT_DIG__) && \
+ (__DBL_MANT_DIG__ == __LDBL_MANT_DIG__ && __LDBL_MIN_EXP__ == __DBL_MIN_EXP__ && \
+ __LDBL_MAX_EXP__ == __DBL_MAX_EXP__)
#define _LDBL_EQ_DBL
#endif