Mail Archives: djgpp-workers/2003/12/23/16:49:28
Hello.
Kbwms AT aol DOT com wrote:
> In a message dated 12/23/2003 2:17:28 PM Eastern Standard Time,
> rich AT phekda DOT gotadsl DOT co DOT uk writes:
>
>>
>> I completely confused by this thread. I think I'm confusing you guys
>> too. I'll get back to you with an answer sometime in the new year.
Thanks for forwarding me those. I'm not as confused as I thought I was. ;)
> Some misguided, hapless individual cluttered 24 functions in libm of
> type float with code that was not needed. Some of it was incorrect as
> pointed out in the forwarded email.
I applied those patches (with some minor changes) for Andrew Cottrell
(pardon pointing the finger). This was done as part of the type-punning
fixes for gcc 3.3.x. I didn't realise at the time that the fixes were
broken, so mea culpa.
> Here is the magic patch that fixes the problem:
>
> --- c:/djgpp.204/src/libm/math/fdlibm.h 1998-10-04 06:48:42.000000000 -0400
> +++ c:/djgpp/src/libm/math/fdlibm.h 2003-12-15 11:44:02.000000000 -0500
> @@ -22,6 +22,10 @@
> #include <machine/ieeefp.h>
> #endif
>
> +#undef isnanf
> +#undef isinff
> +#undef finitef
> +
> /* CYGNUS LOCAL: Default to XOPEN_MODE. */
> #define _XOPEN_MODE
Why not just remove the definitions of is*f from <ieefp.h>?
> If the changes persist into DJGPP v2.04, I will submit correcting
> patches that restore the code. The functions to be "reverted" are
> listed in the forwarded email and below:
[snip]
I can revert the patches I applied, once my question about <ieefp.h>
above is answered.
Thanks, bye, Rich =]
--
Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ]
"You can't evaluate a man by logic alone."
-- McCoy, "I, Mudd", Star Trek
- Raw text -