xsimd: refresh musl and darwin patches
The chnage fixes patch application and tests for `pkgsMusl.xsimd`.
This commit is contained in:
parent
360a5f0549
commit
57f0668383
@ -4,23 +4,25 @@ Date: Tue Aug 1 13:26:04 2023 +0300
|
||||
|
||||
Darwin & Musl: Disable failing exp10 test
|
||||
|
||||
diff --git a/test/test_xsimd_api.cpp b/test/test_xsimd_api.cpp
|
||||
index 84b4b0b..1b29742 100644
|
||||
--- a/test/test_xsimd_api.cpp
|
||||
+++ b/test/test_xsimd_api.cpp
|
||||
@@ -515,11 +515,6 @@ struct xsimd_api_float_types_functions
|
||||
@@ -515,15 +515,6 @@ struct xsimd_api_float_types_functions
|
||||
value_type val(2);
|
||||
CHECK_EQ(extract(xsimd::exp(T(val))), std::exp(val));
|
||||
}
|
||||
- void test_exp10()
|
||||
- {
|
||||
- value_type val(2);
|
||||
-#ifdef EMSCRIPTEN
|
||||
- CHECK_EQ(extract(xsimd::exp10(T(val))), doctest::Approx(std::pow(value_type(10), val)));
|
||||
-#else
|
||||
- CHECK_EQ(extract(xsimd::exp10(T(val))), std::pow(value_type(10), val));
|
||||
-#endif
|
||||
- }
|
||||
void test_exp2()
|
||||
{
|
||||
value_type val(2);
|
||||
@@ -804,11 +799,6 @@ TEST_CASE_TEMPLATE("[xsimd api | float types functions]", B, FLOAT_TYPES)
|
||||
@@ -813,11 +804,6 @@ TEST_CASE_TEMPLATE("[xsimd api | float types functions]", B, FLOAT_TYPES)
|
||||
Test.test_exp();
|
||||
}
|
||||
|
||||
|
@ -4,11 +4,9 @@ Date: Tue Aug 1 13:29:16 2023 +0300
|
||||
|
||||
aarch64-Darwin: Disable failing polar test
|
||||
|
||||
diff --git a/test/test_xsimd_api.cpp b/test/test_xsimd_api.cpp
|
||||
index 1b29742..03c6b4b 100644
|
||||
--- a/test/test_xsimd_api.cpp
|
||||
+++ b/test/test_xsimd_api.cpp
|
||||
@@ -652,12 +652,6 @@ struct xsimd_api_float_types_functions
|
||||
@@ -661,17 +661,6 @@ struct xsimd_api_float_types_functions
|
||||
value_type val1(4);
|
||||
CHECK_EQ(extract(xsimd::nextafter(T(val0), T(val1))), std::nextafter(val0, val1));
|
||||
}
|
||||
@ -16,12 +14,17 @@ index 1b29742..03c6b4b 100644
|
||||
- {
|
||||
- value_type val0(3);
|
||||
- value_type val1(4);
|
||||
-#ifndef EMSCRIPTEN
|
||||
- CHECK_EQ(extract(xsimd::polar(T(val0), T(val1))), std::polar(val0, val1));
|
||||
-#else
|
||||
- CHECK_EQ(std::real(extract(xsimd::polar(T(val0), T(val1)))), doctest::Approx(std::real(std::polar(val0, val1))));
|
||||
- CHECK_EQ(std::imag(extract(xsimd::polar(T(val0), T(val1)))), doctest::Approx(std::imag(std::polar(val0, val1))));
|
||||
-#endif
|
||||
- }
|
||||
void test_pow()
|
||||
{
|
||||
value_type val0(2);
|
||||
@@ -912,11 +906,6 @@ TEST_CASE_TEMPLATE("[xsimd api | float types functions]", B, FLOAT_TYPES)
|
||||
@@ -931,11 +920,6 @@ TEST_CASE_TEMPLATE("[xsimd api | float types functions]", B, FLOAT_TYPES)
|
||||
Test.test_nextafter();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user