2023-08-10 07:59:29 +00:00
|
|
|
commit 9374b88b97911d9c6e19d5e764e25183cd45d534
|
|
|
|
Author: Doron Behar <doron.behar@gmail.com>
|
|
|
|
Date: Tue Aug 1 13:29:16 2023 +0300
|
|
|
|
|
|
|
|
aarch64-Darwin: Disable failing polar test
|
|
|
|
|
|
|
|
--- a/test/test_xsimd_api.cpp
|
|
|
|
+++ b/test/test_xsimd_api.cpp
|
2024-01-02 11:29:13 +00:00
|
|
|
@@ -661,17 +661,6 @@ struct xsimd_api_float_types_functions
|
2023-08-10 07:59:29 +00:00
|
|
|
value_type val1(4);
|
|
|
|
CHECK_EQ(extract(xsimd::nextafter(T(val0), T(val1))), std::nextafter(val0, val1));
|
|
|
|
}
|
|
|
|
- void test_polar()
|
|
|
|
- {
|
|
|
|
- value_type val0(3);
|
|
|
|
- value_type val1(4);
|
2024-01-02 11:29:13 +00:00
|
|
|
-#ifndef EMSCRIPTEN
|
2023-08-10 07:59:29 +00:00
|
|
|
- CHECK_EQ(extract(xsimd::polar(T(val0), T(val1))), std::polar(val0, val1));
|
2024-01-02 11:29:13 +00:00
|
|
|
-#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
|
2023-08-10 07:59:29 +00:00
|
|
|
- }
|
|
|
|
void test_pow()
|
|
|
|
{
|
|
|
|
value_type val0(2);
|
2024-01-02 11:29:13 +00:00
|
|
|
@@ -931,11 +920,6 @@ TEST_CASE_TEMPLATE("[xsimd api | float types functions]", B, FLOAT_TYPES)
|
2023-08-10 07:59:29 +00:00
|
|
|
Test.test_nextafter();
|
|
|
|
}
|
|
|
|
|
|
|
|
- SUBCASE("polar")
|
|
|
|
- {
|
|
|
|
- Test.test_polar();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
SUBCASE("pow")
|
|
|
|
{
|
|
|
|
Test.test_pow();
|