[PATCH] BZ#13889: expl (709.75) wrongly overflows for ldbl-128ibm

Nix nix@esperi.org.uk
Wed Jun 6 19:53:00 GMT 2012


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)



More information about the Libc-alpha mailing list