This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix ldbl128ibm fmodl for subnormals


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]