Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / xsimd / disable-exp10-test.patch
blob62e24e18c6b766d66e1056d24b60bd646a2bb459
1 commit 87433035c70578507e08565723c99158290f2488
2 Author: Doron Behar <doron.behar@gmail.com>
3 Date: Tue Aug 1 13:26:04 2023 +0300
5 Darwin & Musl: Disable failing exp10 test
7 diff --git a/test/test_xsimd_api.cpp b/test/test_xsimd_api.cpp
8 index 84b4b0b..1b29742 100644
9 --- a/test/test_xsimd_api.cpp
10 +++ b/test/test_xsimd_api.cpp
11 @@ -515,11 +515,6 @@ struct xsimd_api_float_types_functions
12 value_type val(2);
13 CHECK_EQ(extract(xsimd::exp(T(val))), std::exp(val));
15 - void test_exp10()
16 - {
17 - value_type val(2);
18 - CHECK_EQ(extract(xsimd::exp10(T(val))), std::pow(value_type(10), val));
19 - }
20 void test_exp2()
22 value_type val(2);
23 @@ -804,11 +799,6 @@ TEST_CASE_TEMPLATE("[xsimd api | float types functions]", B, FLOAT_TYPES)
24 Test.test_exp();
27 - SUBCASE("exp10")
28 - {
29 - Test.test_exp10();
30 - }
32 SUBCASE("exp2")
34 Test.test_exp2();