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();