1commit 87433035c70578507e08565723c99158290f2488
2Author: Doron Behar <doron.behar@gmail.com>
3Date: Tue Aug 1 13:26:04 2023 +0300
4
5 Darwin & Musl: Disable failing exp10 test
6
7--- a/test/test_xsimd_api.cpp
8+++ b/test/test_xsimd_api.cpp
9@@ -515,15 +515,6 @@ struct xsimd_api_float_types_functions
10 value_type val(2);
11 CHECK_EQ(extract(xsimd::exp(T(val))), std::exp(val));
12 }
13- void test_exp10()
14- {
15- value_type val(2);
16-#ifdef EMSCRIPTEN
17- CHECK_EQ(extract(xsimd::exp10(T(val))), doctest::Approx(std::pow(value_type(10), val)));
18-#else
19- CHECK_EQ(extract(xsimd::exp10(T(val))), std::pow(value_type(10), val));
20-#endif
21- }
22 void test_exp2()
23 {
24 value_type val(2);
25@@ -813,11 +804,6 @@ TEST_CASE_TEMPLATE("[xsimd api | float types functions]", B, FLOAT_TYPES)
26 Test.test_exp();
27 }
28
29- SUBCASE("exp10")
30- {
31- Test.test_exp10();
32- }
33-
34 SUBCASE("exp2")
35 {
36 Test.test_exp2();