Fix dbl-64 hypot spurious underflows (bug 16314)
Andreas Jaeger
aj@suse.com
Tue Dec 17 09:56:00 GMT 2013
On 12/16/2013 11:26 PM, Joseph S. Myers wrote:
> This patch, relative to a tree with
> <https://sourceware.org/ml/libc-alpha/2013-12/msg00597.html> applied,
> fixes bug 16314, spurious underflows from dbl-64 hypot for input
> values a bit above 0x1p-500. In these cases, squaring the inputs does
> not result in underflow, but squaring values constructed as low parts
> of inputs does result in underflow; the fix is simply to adjust the
> threshold for scaling up inputs from 0x1p-500 to 0x1p-450 (the same as
> used for ldbl-128ibm). I don't think any of the other hypot
> implementations have this particular problem.
ok,
Thanks,
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
More information about the Libc-alpha
mailing list