Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / xsimd / disable-polar-test.patch
blobcbb7c0313c6d08af3b4aece1fcb2fa4fb2965c83
1 commit 9374b88b97911d9c6e19d5e764e25183cd45d534
2 Author: Doron Behar <doron.behar@gmail.com>
3 Date: Tue Aug 1 13:29:16 2023 +0300
5 aarch64-Darwin: Disable failing polar test
7 diff --git a/test/test_xsimd_api.cpp b/test/test_xsimd_api.cpp
8 index 1b29742..03c6b4b 100644
9 --- a/test/test_xsimd_api.cpp
10 +++ b/test/test_xsimd_api.cpp
11 @@ -652,12 +652,6 @@ struct xsimd_api_float_types_functions
12 value_type val1(4);
13 CHECK_EQ(extract(xsimd::nextafter(T(val0), T(val1))), std::nextafter(val0, val1));
15 - void test_polar()
16 - {
17 - value_type val0(3);
18 - value_type val1(4);
19 - CHECK_EQ(extract(xsimd::polar(T(val0), T(val1))), std::polar(val0, val1));
20 - }
21 void test_pow()
23 value_type val0(2);
24 @@ -912,11 +906,6 @@ TEST_CASE_TEMPLATE("[xsimd api | float types functions]", B, FLOAT_TYPES)
25 Test.test_nextafter();
28 - SUBCASE("polar")
29 - {
30 - Test.test_polar();
31 - }
33 SUBCASE("pow")
35 Test.test_pow();