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 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


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