summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-128/k_tanl.c
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-08-02 13:32:06 -0500
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-08-03 11:01:25 -0500
commitcad1d6066fa52caa89d15b21b047178d9a8c25f3 (patch)
tree0bf1b86355a222248904a1a2842e40a2017a5325 /sysdeps/ieee754/ldbl-128/k_tanl.c
parentb381a388dc1e02223e1ac55948380f1e4427be4c (diff)
Remove tacit double usage in ldbl-128
There is quiet truncation to double arithmetic in several files. I noticed them when building ldbl-128 in a soft-fp context. This did not change any test results.
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/k_tanl.c')
-rw-r--r--sysdeps/ieee754/ldbl-128/k_tanl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-128/k_tanl.c b/sysdeps/ieee754/ldbl-128/k_tanl.c
index 6bb221e4a6..cd2bbf5f99 100644
--- a/sysdeps/ieee754/ldbl-128/k_tanl.c
+++ b/sysdeps/ieee754/ldbl-128/k_tanl.c
@@ -98,7 +98,7 @@ __kernel_tanl (long double x, long double y, int iy)
{ /* generate inexact */
if ((ix | u.parts32.w1 | u.parts32.w2 | u.parts32.w3
| (iy + 1)) == 0)
- return one / fabs (x);
+ return one / fabsl (x);
else if (iy == 1)
{
math_check_force_underflow (x);