[PATCH] Fix the inaccuracy of j0f/j1f/y0f/y1f [BZ #14469, #14470, #14471, #14472]

Adhemerval Zanella adhemerval.zanella@linaro.org
Tue Mar 30 18:41:54 GMT 2021



On 30/03/2021 15:18, Adhemerval Zanella wrote:
> 
> 
> On 30/03/2021 14:18, Paul Zimmermann wrote:
>> ---
>>  math/auto-libm-test-in             |  15 +
>>  math/auto-libm-test-out-j0         |  50 +++
>>  math/auto-libm-test-out-j1         |  50 +++
>>  math/auto-libm-test-out-y0         |  50 +++
>>  math/auto-libm-test-out-y1         |  75 +++++
>>  sysdeps/aarch64/libm-test-ulps     |  70 ++--
>>  sysdeps/ieee754/flt-32/e_j0f.c     | 515 ++++++++++++++++++++++++++---
>>  sysdeps/ieee754/flt-32/e_j1f.c     | 512 ++++++++++++++++++++++++++--
>>  sysdeps/powerpc/fpu/libm-test-ulps |  62 ++--
>>  sysdeps/s390/fpu/libm-test-ulps    |  68 ++--
>>  sysdeps/sparc/fpu/libm-test-ulps   |  68 ++--
>>  sysdeps/x86_64/fpu/libm-test-ulps  |  76 ++---
>>  12 files changed, 1369 insertions(+), 242 deletions(-)


>> diff --git a/sysdeps/ieee754/flt-32/e_j0f.c b/sysdeps/ieee754/flt-32/e_j0f.c
>> index 5d29611eb7..b4a4ede0f1 100644
>> --- a/sysdeps/ieee754/flt-32/e_j0f.c
>> +++ b/sysdeps/ieee754/flt-32/e_j0f.c
>> @@ -16,7 +16,9 @@
>>  #include <math.h>
>>  #include <math-barriers.h>
>>  #include <math_private.h>
>> +#include <fenv_private.h>
>>  #include <libm-alias-finite.h>
>> +#include <reduce_aux.h>

You forgot to include the reduce_aux.h on this version.


More information about the Libc-alpha mailing list