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] Update sparc ULPs.


From: "Joseph S. Myers" <joseph@codesourcery.com>
Date: Mon, 19 Nov 2012 16:29:28 +0000

> On Sun, 18 Nov 2012, David Miller wrote:
> 
>> But I'll try to take care of both boundary conditions while I'm here.
>> This patch below is what I currently have, although I'm not so sure
>> about the boundary points I picked.
>> 
>> I know that the limiting factor is the multiplication of the largest
>> terms that go into the polynomial computation.
> 
> For small arguments what's relevant is x - x^3/3 being indistinguishable 
> from x (i.e. x^3/3 being less than 0.5ulp of x).  For large arguments it's 
> pi/2 - 1/x being indistinguishable from pi/2.  So the cutoffs you chose 
> seem reasonable in both cases.

Thanks Joseph.  I'll work through the test cases and post a final
version for review.


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