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 06/13/2012 01:00 PM, Ryan S. Arnold wrote:
> 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
>
Yes, I already fixed this with commit 1b671feb6115afbc90a7b37be4929d3e0394f311


-- 
Adhemerval Zanella Netto
  Software Engineer
  Linux Technology Center Brazil
  Toolchain / GLIBC on Power Architecture
  azanella@linux.vnet.ibm.com / azanella@br.ibm.com
  +55 61 8642-9890


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