xsimd
xsimd copied to clipboard
Minor difference in test result on macOS
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?