From 6ddf8bef40f93669cbff7df85f22318bfbfcdaa0 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 31 Aug 2007 21:21:27 +0000 Subject: 2007-08-31 Antony King * 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. --- newlib/libc/stdio/vfieeefp.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'newlib/libc/stdio/vfieeefp.h') 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) -- cgit v1.2.3