[PATCH] Fix the inaccuracy of j0f (BZ 14469) and y0f (BZ 14471) [v2]

Adhemerval Zanella adhemerval.zanella@linaro.org
Fri Jan 22 14:37:54 GMT 2021



On 22/01/2021 11:23, Paul Zimmermann wrote:
>        Dear Adhemerval,
> 
>> Paul, besides mixed indentation and other style issues (which should
>> be easier to fix, I can help you out with this), I am seeing these failures
>> on a x86_64 with 9.2.1: [...]
> 
> these failures are due to the inputs that now give the largest error in
> binary32, rounding to nearest, because I've added those inputs to
> math/auto-libm-test-in.
> 
> For math/test-float-j0 and math/test-float-y0, it appears those inputs
> give an error larger than 9 ulps for some directed rounding modes.
> 
> For other failures, it appears those inputs, when converted to other
> formats, also give errors larger than 9 ulps.
> 
> Should I remove those inputs from auto-libm-test-in?

So if I understand correctly, you patch increase the ulps for non-default
rounding for this specific inputs? If it were the case, could be fix it
as well? 

I am not sure how to proceed in such case, Joseph could give us a better
idea.


More information about the Libc-alpha mailing list