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


On Sun, 13 Apr 2014, David Miller wrote:

> For example, for test-float and test-ifloat y1_upward gets a ULP of 10,
> and for test-ldouble and test-ildoubl y1_upward gets a ULP of 10 and
> y1_downward gets a ULP of 13.
> 
> I see that we use an upper limit of 13 for IBM long double in the
> inexact cases... should we use something similar for 128-bit IEEE
> cases as well?

No.  That increased limit is an allowance for IBM long double not being an 
IEEE type and the underlying arithmetic operations having errors of up to 
3 ulps.  If you get larger errors for an IEEE type, the implementations of 
the relevant libm functions should be fixed to reduce error accumulation.

-- 
Joseph S. Myers
joseph@codesourcery.com


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