We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a450eb commit f7150eeCopy full SHA for f7150ee
test/test_pow1p.cpp
@@ -8,6 +8,11 @@
8
#include <boost/math/concepts/real_concept.hpp>
9
#include <exception>
10
#include <random>
11
+
12
+#if __has_include(<stdfloat>) && !defined(BOOST_MATH_HAS_GPU_SUPPORT)
13
+# include <stdfloat>
14
+#endif
15
16
#include "math_unit_test.hpp"
17
18
template <typename T>
@@ -93,8 +98,17 @@ void test()
93
98
94
99
int main()
95
100
{
101
+ #ifdef __STDCPP_FLOAT32_T__
102
+ test<std::float32_t>();
103
+ #else
96
104
test<float>();
105
+ #endif
106
107
+ #ifdef __STDCPP_FLOAT64_T__
108
+ test<std::float64_t>();
109
97
110
test<double>();
111
112
113
#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
114
test<long double>();
0 commit comments