This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] BZ#13889: expl (709.75) wrongly overflows for ldbl-128ibm
- From: Nix <nix at esperi dot org dot uk>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>, "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Wed, 06 Jun 2012 20:53:22 +0100
- Subject: Re: [PATCH] BZ#13889: expl (709.75) wrongly overflows for ldbl-128ibm
- References: <4FC7D52E.8080502@linux.vnet.ibm.com> <m2sje8pgzr.fsf@igel.home>
On 6 Jun 2012, Andreas Schwab verbalised:
> Adhemerval Zanella <azanella@linux.vnet.ibm.com> writes:
>
>> @@ -235,10 +233,22 @@ __ieee754_expl (long double x)
>> return __ieee754_expl_proc2 (origx);
>> }
>> */
>> - if (!unsafe)
>> - return result;
>> - else
>> - return result * scale_u.d;
>> + if (unsafe)
>> + {
>> + /* The scale with denormal number might generated undeflow for
>
> s/undeflow/underflow
For that matter, s/generated/generate/
--
NULL && (void)