Mail Archives: djgpp-workers/2003/12/20/13:08:18
Hello.
Kbwms AT aol DOT com wrote:
> Rich:
>
> Re: RESEND: Re: e_pow.c
>
> In a message dated 12/20/2003 10:55:15 AM Eastern Standard Time,
> rich AT phekda DOT gotadsl DOT co DOT uk writes:
>
>> Hello.
>>
>> Kbwms AT aol DOT com wrote:
>> >Kudos to the person who put a note in a patch for e_pow.c concerning
>> >cases where, for z=pow(x,y), when x is very near 1 and y is very large,
>> >z would vanish. It prompted me to create test cases for all three
>> >floating point precisions. The same problem existed for the float
>> >version and was easily fixed.
>> >
>> >For testing the double precision case, the parameters are:
>> >
>> >x = 1-DBL_EPSILON
>> >y = log(DBL_MIN)/log(1-DBL_EPSILON)
>>
>> Could you send a patch for DJGPP 2.04, please?
>>
>> Thanks, bye, Rich =]
>
>
>
> Until the problem described in the forwarded email is resolved, no
> changes to sources in libm will be submitted. The problem involves the
> use of macros in libm sources of type float that have the same names as
> functions in libm.a. My proposal is to eliminate the use of the macros.
[snip]
You included a patch in the mail that you forwarded. But I think we need
to undo the type-punning as well. Can you send a patch to fix both those
things, please, if you have one?
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 -