[PATCH] Fix ldbl128ibm fmodl for subnormals
Ryan S. Arnold
ryan.arnold@gmail.com
Wed Jun 13 16:00:00 GMT 2012
On Tue, Jun 5, 2012 at 1:35 PM, Adhemerval Zanella
<azanella@linux.vnet.ibm.com> wrote:
> On 06/05/2012 03:16 PM, Andreas Schwab wrote:
>> Since it's broken either way, it needs to be fixed properly.
>>
>> Andreas.
>>
>
> Below is a patch to amend what I committed.
>
> ---
>
>
> 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
>
> * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
> fmodl commit.
>
> diff --git a/sysdeps/ieee754/ldbl-128ibm/e_fmodl.c b/sysdeps/ieee754/ldbl-128ibm/e_fmodl.c
> index 31e709b..a60963c 100644
> --- a/sysdeps/ieee754/ldbl-128ibm/e_fmodl.c
> +++ b/sysdeps/ieee754/ldbl-128ibm/e_fmodl.c
> @@ -27,8 +27,8 @@ static const long double one = 1.0, Zero[] = {0.0, -0.0,};
> long double
> __ieee754_fmodl (long double x, long double y)
> {
> - int64_t n,hx,hy,hz,ix,iy,sx;
> - u_int64_t lx,ly,lz, i;
> + int64_t n,hx,hy,hz,ix,iy,sx, i;
> + u_int64_t lx,ly,lz;
> int temp;
>
> GET_LDOUBLE_WORDS64(hx,lx,x);
> --
> 1.6.0.2
Did this get committed Adhemerval?
Ryan
More information about the Libc-alpha
mailing list