This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove tacit double usage in ldbl-128
- From: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- To: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Wed, 3 Aug 2016 12:13:39 -0500
- Subject: Re: [PATCH] Remove tacit double usage in ldbl-128
- Authentication-results: sourceware.org; auth=none
- References: <0fe6230c-bd2b-6711-acdb-e33d6ad58fba@linux.vnet.ibm.com>
On 08/02/2016 01:57 PM, Paul E. Murphy wrote:
> 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.
>
> * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
> Use fabsl instead of fabs.
> * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
> Likewise.
> * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
> Add long double suffix to constant to ensure proper
> promotion to long double.
Committed as cad1d60.