]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | // (C) Copyright Matt Borland 2021. |
2 | // Use, modification and distribution are subject to the | |
3 | // Boost Software License, Version 1.0. (See accompanying file | |
4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
5 | ||
6 | #include <boost/math/ccmath/isfinite.hpp> | |
7 | #include "test_compile_result.hpp" | |
8 | ||
9 | void compile_and_link_test() | |
10 | { | |
11 | check_result<bool>(boost::math::ccmath::isfinite(1.0f)); | |
12 | check_result<bool>(boost::math::ccmath::isfinite(1.0)); | |
13 | #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS | |
14 | check_result<bool>(boost::math::ccmath::isfinite(1.0l)); | |
15 | #endif | |
16 | } |