Fix ldbl-128ibm acoshl inaccuracy (bug 16384).
commit396e3ecf3e8f0f05bd7eeaf995a3f0c2327a6cd6
authorJoseph Myers <joseph@codesourcery.com>
Thu, 2 Jan 2014 16:33:06 +0000 (2 16:33 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 2 Jan 2014 16:33:06 +0000 (2 16:33 +0000)
treeec6423e6d30d9344e775ce5d6011a60306eb99d2
parent6c8dbf00f536d78b1937b5af6f57be47fd376344
Fix ldbl-128ibm acoshl inaccuracy (bug 16384).

This patch fixes bug 16384, ldbl-128ibm acoshl inaccuracy, which
showed up while attempting to regenerate ulps for powerpc-nofpu for
2.19.  There were two separate problems, use of __log1p instead of
__log1pl and an insufficiently accurate constant value for log 2
(which this patch replaces by use of M_LN2l), each of which could
cause substantial inaccuracy in affected cases.

Tested for powerpc-nofpu.

* sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
M_LN2l.
(__ieee754_acoshl): Use __log1pl not __log1p.
ChangeLog
NEWS
sysdeps/ieee754/ldbl-128ibm/e_acoshl.c