From f7150ee9765eec76cedc9e8d867458743a1bf715 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Mon, 26 Aug 2024 09:57:02 -0400 Subject: [PATCH] Add tests --- test/test_pow1p.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/test_pow1p.cpp b/test/test_pow1p.cpp index 67d7ee1acd..9b5ba7c8e7 100644 --- a/test/test_pow1p.cpp +++ b/test/test_pow1p.cpp @@ -8,6 +8,11 @@ #include #include #include + +#if __has_include() && !defined(BOOST_MATH_HAS_GPU_SUPPORT) +# include +#endif + #include "math_unit_test.hpp" template @@ -93,8 +98,17 @@ void test() int main() { + #ifdef __STDCPP_FLOAT32_T__ + test(); + #else test(); + #endif + + #ifdef __STDCPP_FLOAT64_T__ + test(); + #else test(); + #endif #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS test();