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

Warning suppression

[SVN r39390]
This commit is contained in:
Paul A. Bristow
2007-09-19 15:55:17 +00:00
parent 1b20b57b12
commit 03f951e92f

View File

@@ -1,13 +1,21 @@
// (C) Copyright John Maddock 2006.
// Copyright John Maddock 2006
// Copyright Paul A. Bristow 2007
// 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)
#ifdef _MSC_VER
# pragma warning(disable : 4267) // conversion from 'size_t' to 'const unsigned int', possible loss of data
# pragma warning(disable : 4180) // qualifier applied to function type has no meaning; ignored
# pragma warning(disable : 4224) // nonstandard extension used : formal parameter 'function_ptr' was previously defined as a type
#endif
#include <boost/math/tools/remez.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
#include <boost/math/special_functions/expm1.hpp>
void test_polynomial()
{
double (*f)(double) = boost::math::expm1;