Fix missing exp2 overflow exception (bug 13871)

Andreas Jaeger aj@suse.com
Wed Mar 21 09:05:00 GMT 2012


On Wednesday, March 21, 2012 01:23:40 Joseph S. Myers wrote:
> This patch fixes bug 13871, missing overflow exception from exp2.  The
> exp2 wrapper checks the range of the input and calls __kernel_standard
> if appropriate to handle errors, but __kernel_standard does not deal
> with exceptions.  This patch changes the exp2 wrappers to follow the
> same approach as the exp10 wrappers: call the actual __ieee754_exp2*
> implementation first (which will generate any required exceptions) and
> only then test for error cases.

ok, 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



More information about the Libc-alpha mailing list