xsimd icon indicating copy to clipboard operation
xsimd copied to clipboard

Minor difference in test result on macOS

Open emmenlau opened this issue 1 year ago • 0 comments

With latest xsimd 9.0.1 I get a failed test on macOS with XCode 13.4.1 (current latest):

1: [ RUN      ] xsimd_api_float_types_functions/2.asin
1: /Users/bdaci01/builds/nK4EB_yB/0/BioDataAnalysis/xsimd/test/test_xsimd_api.cpp:357: Failure
1: Expected equality of these values:
1:   extract(xsimd::asin(T(val)))
1:     Which is: 1.5708
1:   std::asin(val)
1:     Which is: 1.5708
1: [  FAILED  ] xsimd_api_float_types_functions/2.asin, where TypeParam = xsimd::batch<float, xsimd::avx> (0 ms)

I'm using not the native build flags for the host, but -march=ivybridge -mtune=skylake instead, in case that is related?

emmenlau avatar Aug 26 '22 07:08 emmenlau