This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix ldbl128ibm fmodl for subnormals
- From: "Ryan S. Arnold" <ryan dot arnold at gmail dot com>
- To: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>, "Carlos O'Donell" <carlos_odonell at mentor dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Mon, 4 Jun 2012 16:56:21 -0500
- Subject: Re: [PATCH] Fix ldbl128ibm fmodl for subnormals
- References: <4FCCD216.1060103@linux.vnet.ibm.com>
On Mon, Jun 4, 2012 at 10:19 AM, Adhemerval Zanella
<azanella@linux.vnet.ibm.com> wrote:
> Current subnormal tests for fmod (TEST_ff_f (fmod, 0x0.fffffffffffffp-1022L, 0x1p-1074L, plus_zero))
> fails for ldbl-128ibm. This patch fixes it and it is related to commit 'Fix fmod for subnormals'
> (c5bfe3d5ba29d36563f1e4bd4f8d7336093ee6fc).
>
> Tested on ppc32 and ppc64.
>
> ---
>
> 2012-06-04 ÂAdhemerval Zanella Â<azanella@linux.vnet.ibm.com>
>
> Â Â* sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
> Â Âsubnormal exponent extraction and add some __builtin_expect.
> Â Â* sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
> Â ÂFix for subnormal mantissa calculation.
I'm fine with these bug fixes and would like them to go in for 2.16 if
it's ok with Carlos.
Ryan S. Arnold