[PATCH COMMITTED] Regenerate sparc ULPs.

Joseph S. Myers joseph@codesourcery.com
Wed Apr 23 14:51:00 GMT 2014


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



More information about the Libc-alpha mailing list