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: Joseph Myers <joseph at codesourcery dot com>
- To: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Tue, 2 Aug 2016 20:10:35 +0000
- 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 Tue, 2 Aug 2016, 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.
OK.
--
Joseph S. Myers
joseph@codesourcery.com