2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Add missing files.

This commit is contained in:
jzmaddock
2021-09-02 18:34:38 +01:00
parent e7a66ca725
commit e7f4a4c033
3 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
// (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
#include <boost/math/special_functions/bernoulli.hpp>
#include "test_compile_result.hpp"
void compile_and_link_test()
{
check_result<double>(boost::math::bernoulli_b2n<double>(4));
}

View File

@@ -0,0 +1,15 @@
// (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
#include <boost/math/special_functions/bernoulli.hpp>
#include <boost/multiprecision/cpp_bin_float.hpp>
#include "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));
}

View File

@@ -0,0 +1,16 @@
// (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 "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));
}