Fix ldbl-128ibm log1pl (sNaN) (bug 20234).
commitb7519f61fe2c57981c69c0c65996968b9a4d9b62
authorJoseph Myers <joseph@codesourcery.com>
Thu, 9 Jun 2016 17:25:54 +0000 (9 17:25 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 9 Jun 2016 17:25:54 +0000 (9 17:25 +0000)
treeb3bdf9379b0d3d28321696ad13536115a877bc13
parentf8fc4b44942238dec3228c4e4d77553da2b3ec39
Fix ldbl-128ibm log1pl (sNaN) (bug 20234).

The ldbl-128ibm version of log1pl returns sNaN for sNaN input.  This
patch fixes it to add such inputs to themselves so that qNaN is
returned in this case.

Tested for powerpc.

[BZ #20234]
* sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
infinity or NaN input to itself.
ChangeLog
sysdeps/ieee754/ldbl-128ibm/s_log1pl.c