math/test/bernoulli_no_atomic_mp.cpp
2021-09-03 10:56:44 +01:00

17 lines
619 B
C++

// (C) Copyright John Maddock 2021.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_MATH_NO_ATOMIC_INT
#define BOOST_MATH_BERNOULLI_UNTHREADED
#include <boost/math/special_functions/bernoulli.hpp>
#include <boost/multiprecision/cpp_bin_float.hpp>
#include "compile_test/test_compile_result.hpp"
void compile_and_link_test()
{
check_result<boost::multiprecision::cpp_bin_float_50>(boost::math::bernoulli_b2n<boost::multiprecision::cpp_bin_float_50>(4));
}