X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Message-ID: <3FE473B6.2060602@phekda.gotadsl.co.uk> Date: Sat, 20 Dec 2003 16:07:18 +0000 From: Richard Dawe User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031031 X-Accept-Language: en, de, fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: RESEND: Re: e_pow.c References: <59 DOT 17546f3 DOT 2d109998 AT aol DOT com> In-Reply-To: <59.17546f3.2d109998@aol.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com 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 =] PS: KBW: I now have an e-mail client that doesn't crash on 90% of your mails. ;) -- Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ] "You can't evaluate a man by logic alone." -- McCoy, "I, Mudd", Star Trek