Fix clog10 (-0 +/- 0i) (bug 16362)

Andreas Jaeger aj@suse.com
Fri Mar 28 19:02:00 GMT 2014


On 03/28/2014 04:19 PM, Joseph S. Myers wrote:
> This patch fixes the imaginary part of clog10 (-0 ± 0i), which
> should be ±pi / log(10) by analogy with clog (the functions were
> wrongly returning a result with imaginary part ±pi, same as for
> clog, and the tests matched the incorrect result, though both
> functions and tests were correct for the similar case of clog10 (-inf
> ± 0i)).  Tested x86_64 and x86.

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