This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix x86/x86_64 expm1l spurious underflow exceptions (bug 16539)


On 06/24/2014 10:47 PM, Joseph S. Myers wrote:
> This patch fixes bug 16539, spurious underflow exceptions from x86 /
> x86-64 expm1l.  The problem is that the computation of a base-2
> exponent with extra precision involves spurious underflows for
> arguments that are small but not subnormal, so a check is added to
> just return the argument in those cases.  (If the argument *is*
> subnormal, underflowing is correct and the existing code will always
> underflow, so it suffices to keep using the existing code in that
> case; some expm1 implementations have a bug (bug 16353) with missing
> underflow exceptions, but I don't think there's such a bug in this
> particular version.)

Thanks,
Andreas
-- 
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]