Files
trigdx/tests/test_lookup_xsimd.cpp
Bram Veenboer c85df5f69c Add Taylor expansion to LookupXSIMD (#23)
Co-authored-by: Wiebe van Breukelen <breukelen@astron.nl>
Co-authored-by: mancini <mancini@astron.nl>
2025-08-15 10:53:15 +02:00

19 lines
461 B
C++

#include <catch2/catch_test_macros.hpp>
#include <trigdx/lookup_xsimd.hpp>
#include "test_utils.hpp"
TEST_CASE("sincosf") {
test_sincosf<LookupXSIMDBackend<16384>>(1e-6f);
test_sincosf<LookupXSIMDBackend<32768>>(1e-6f);
}
TEST_CASE("sinf") {
test_sinf<LookupXSIMDBackend<16384>>(1e-6f);
test_sinf<LookupXSIMDBackend<32768>>(1e-6f);
}
TEST_CASE("cosf") {
test_cosf<LookupXSIMDBackend<16384>>(1e-6f);
test_cosf<LookupXSIMDBackend<32768>>(1e-6f);
}