diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2007-08-31 21:21:27 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2007-08-31 21:21:27 +0000 |
commit | 6ddf8bef40f93669cbff7df85f22318bfbfcdaa0 (patch) | |
tree | b97fc8fd4e61bbbf250e751a5cc7647c8afdae1f /newlib/libc/stdio | |
parent | 95500c2eff0773968c36922f68d877cf5e8833e4 (diff) | |
download | cygnal-6ddf8bef40f93669cbff7df85f22318bfbfcdaa0.tar.gz cygnal-6ddf8bef40f93669cbff7df85f22318bfbfcdaa0.tar.bz2 cygnal-6ddf8bef40f93669cbff7df85f22318bfbfcdaa0.zip |
2007-08-31 Antony King <antony.king@st.com>
* libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
bits and redefine associated dword0 macro (rvalue issue).
* libc/stdio/vfieeefp.h: Ditto.
* libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
to prevent setting dword1 which is an rvalue only.
Diffstat (limited to 'newlib/libc/stdio')
-rw-r--r-- | newlib/libc/stdio/vfieeefp.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/newlib/libc/stdio/vfieeefp.h b/newlib/libc/stdio/vfieeefp.h index 3691ffe73..c13f9e8dc 100644 --- a/newlib/libc/stdio/vfieeefp.h +++ b/newlib/libc/stdio/vfieeefp.h @@ -170,9 +170,7 @@ union double_union #define Exp_mask ((__uint32_t)0x7f800000L) #define P 24 #define Bias 127 -#if 0 -#define IEEE_Arith /* it is, but the code doesn't handle IEEE singles yet */ -#endif +#define IEEE_Arith #define Emin (-126) #define Exp_1 ((__uint32_t)0x3f800000L) #define Exp_11 ((__uint32_t)0x3f800000L) |