Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
15 lines
481 B
Diff
15 lines
481 B
Diff
diff --git a/test/test_xsimd_api.cpp b/test/test_xsimd_api.cpp
|
|
index f416ae9..1f8253e 100644
|
|
--- a/test/test_xsimd_api.cpp
|
|
+++ b/test/test_xsimd_api.cpp
|
|
@@ -468,7 +468,8 @@ struct xsimd_api_float_types_functions
|
|
void test_asin()
|
|
{
|
|
value_type val(1);
|
|
- CHECK_EQ(extract(xsimd::asin(T(val))), std::asin(val));
|
|
+ CHECK(extract(xsimd::asin(T(val)))
|
|
+ == doctest::Approx(std::asin(val)).epsilon(1e-7));
|
|
}
|
|
void test_asinh()
|
|
{
|