diff options
author | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-08-02 13:32:06 -0500 |
---|---|---|
committer | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-08-03 11:01:25 -0500 |
commit | cad1d6066fa52caa89d15b21b047178d9a8c25f3 (patch) | |
tree | 0bf1b86355a222248904a1a2842e40a2017a5325 /sysdeps/ieee754/ldbl-128/s_atanl.c | |
parent | b381a388dc1e02223e1ac55948380f1e4427be4c (diff) | |
download | glibc-cad1d6066fa52caa89d15b21b047178d9a8c25f3.tar glibc-cad1d6066fa52caa89d15b21b047178d9a8c25f3.tar.gz glibc-cad1d6066fa52caa89d15b21b047178d9a8c25f3.tar.bz2 glibc-cad1d6066fa52caa89d15b21b047178d9a8c25f3.zip |
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/s_atanl.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-128/s_atanl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-128/s_atanl.c b/sysdeps/ieee754/ldbl-128/s_atanl.c index aaae701551..35577a857c 100644 --- a/sysdeps/ieee754/ldbl-128/s_atanl.c +++ b/sysdeps/ieee754/ldbl-128/s_atanl.c @@ -231,7 +231,7 @@ __atanl (long double x) Roundoff to integer is asymmetrical to avoid cancellation when t < 0 (cf. fdlibm). */ k = 8.0 * x + 0.25; - u = 0.125 * k; + u = 0.125L * k; /* Small arctan argument. */ t = (x - u) / (1.0 + x * u); } |