diff options
Diffstat (limited to 'boost/math/special_functions/detail')
-rw-r--r-- | boost/math/special_functions/detail/bessel_i0.hpp | 10 | ||||
-rw-r--r-- | boost/math/special_functions/detail/bessel_i1.hpp | 10 | ||||
-rw-r--r-- | boost/math/special_functions/detail/bessel_j0.hpp | 10 | ||||
-rw-r--r-- | boost/math/special_functions/detail/bessel_j1.hpp | 10 | ||||
-rw-r--r-- | boost/math/special_functions/detail/bessel_k0.hpp | 10 | ||||
-rw-r--r-- | boost/math/special_functions/detail/bessel_k1.hpp | 10 | ||||
-rw-r--r-- | boost/math/special_functions/detail/bessel_y0.hpp | 10 | ||||
-rw-r--r-- | boost/math/special_functions/detail/bessel_y1.hpp | 10 | ||||
-rw-r--r-- | boost/math/special_functions/detail/igamma_large.hpp | 10 | ||||
-rw-r--r-- | boost/math/special_functions/detail/lgamma_small.hpp | 10 | ||||
-rw-r--r-- | boost/math/special_functions/detail/unchecked_factorial.hpp | 10 |
11 files changed, 110 insertions, 0 deletions
diff --git a/boost/math/special_functions/detail/bessel_i0.hpp b/boost/math/special_functions/detail/bessel_i0.hpp index c70f42e57a..30b89e6a47 100644 --- a/boost/math/special_functions/detail/bessel_i0.hpp +++ b/boost/math/special_functions/detail/bessel_i0.hpp @@ -15,6 +15,16 @@ #include <boost/math/tools/big_constant.hpp> #include <boost/assert.hpp> +#if defined(__GNUC__) && defined(BOOST_MATH_USE_FLOAT128) +// +// This is the only way we can avoid +// warning: non-standard suffix on floating constant [-Wpedantic] +// when building with -Wall -pedantic. Neither __extension__ +// nor #pragma dianostic ignored work :( +// +#pragma GCC system_header +#endif + // Modified Bessel function of the first kind of order zero // we use the approximating forms derived in: // "Rational Approximations for the Modified Bessel Function of the First Kind - I0(x) for Computations with Double Precision" diff --git a/boost/math/special_functions/detail/bessel_i1.hpp b/boost/math/special_functions/detail/bessel_i1.hpp index 3c288d72e5..460efbd461 100644 --- a/boost/math/special_functions/detail/bessel_i1.hpp +++ b/boost/math/special_functions/detail/bessel_i1.hpp @@ -21,6 +21,16 @@ #include <boost/math/tools/big_constant.hpp> #include <boost/assert.hpp> +#if defined(__GNUC__) && defined(BOOST_MATH_USE_FLOAT128) +// +// This is the only way we can avoid +// warning: non-standard suffix on floating constant [-Wpedantic] +// when building with -Wall -pedantic. Neither __extension__ +// nor #pragma dianostic ignored work :( +// +#pragma GCC system_header +#endif + // Modified Bessel function of the first kind of order one // minimax rational approximations on intervals, see // Blair and Edwards, Chalk River Report AECL-4928, 1974 diff --git a/boost/math/special_functions/detail/bessel_j0.hpp b/boost/math/special_functions/detail/bessel_j0.hpp index ebcab17240..f7c381c47e 100644 --- a/boost/math/special_functions/detail/bessel_j0.hpp +++ b/boost/math/special_functions/detail/bessel_j0.hpp @@ -15,6 +15,16 @@ #include <boost/math/tools/big_constant.hpp> #include <boost/assert.hpp> +#if defined(__GNUC__) && defined(BOOST_MATH_USE_FLOAT128) +// +// This is the only way we can avoid +// warning: non-standard suffix on floating constant [-Wpedantic] +// when building with -Wall -pedantic. Neither __extension__ +// nor #pragma dianostic ignored work :( +// +#pragma GCC system_header +#endif + // Bessel function of the first kind of order zero // x <= 8, minimax rational approximations on root-bracketing intervals // x > 8, Hankel asymptotic expansion in Hart, Computer Approximations, 1968 diff --git a/boost/math/special_functions/detail/bessel_j1.hpp b/boost/math/special_functions/detail/bessel_j1.hpp index 91ecd2832d..05cf40f0d7 100644 --- a/boost/math/special_functions/detail/bessel_j1.hpp +++ b/boost/math/special_functions/detail/bessel_j1.hpp @@ -15,6 +15,16 @@ #include <boost/math/tools/big_constant.hpp> #include <boost/assert.hpp> +#if defined(__GNUC__) && defined(BOOST_MATH_USE_FLOAT128) +// +// This is the only way we can avoid +// warning: non-standard suffix on floating constant [-Wpedantic] +// when building with -Wall -pedantic. Neither __extension__ +// nor #pragma dianostic ignored work :( +// +#pragma GCC system_header +#endif + // Bessel function of the first kind of order one // x <= 8, minimax rational approximations on root-bracketing intervals // x > 8, Hankel asymptotic expansion in Hart, Computer Approximations, 1968 diff --git a/boost/math/special_functions/detail/bessel_k0.hpp b/boost/math/special_functions/detail/bessel_k0.hpp index 74f4014bd9..c24d89093c 100644 --- a/boost/math/special_functions/detail/bessel_k0.hpp +++ b/boost/math/special_functions/detail/bessel_k0.hpp @@ -18,6 +18,16 @@ #include <boost/math/policies/error_handling.hpp> #include <boost/assert.hpp> +#if defined(__GNUC__) && defined(BOOST_MATH_USE_FLOAT128) +// +// This is the only way we can avoid +// warning: non-standard suffix on floating constant [-Wpedantic] +// when building with -Wall -pedantic. Neither __extension__ +// nor #pragma dianostic ignored work :( +// +#pragma GCC system_header +#endif + // Modified Bessel function of the second kind of order zero // minimax rational approximations on intervals, see // Russon and Blair, Chalk River Report AECL-3461, 1969, diff --git a/boost/math/special_functions/detail/bessel_k1.hpp b/boost/math/special_functions/detail/bessel_k1.hpp index 2ab191fb49..4a851a67d2 100644 --- a/boost/math/special_functions/detail/bessel_k1.hpp +++ b/boost/math/special_functions/detail/bessel_k1.hpp @@ -18,6 +18,16 @@ #include <boost/math/policies/error_handling.hpp> #include <boost/assert.hpp> +#if defined(__GNUC__) && defined(BOOST_MATH_USE_FLOAT128) +// +// This is the only way we can avoid +// warning: non-standard suffix on floating constant [-Wpedantic] +// when building with -Wall -pedantic. Neither __extension__ +// nor #pragma dianostic ignored work :( +// +#pragma GCC system_header +#endif + // Modified Bessel function of the second kind of order zero // minimax rational approximations on intervals, see // Russon and Blair, Chalk River Report AECL-3461, 1969, diff --git a/boost/math/special_functions/detail/bessel_y0.hpp b/boost/math/special_functions/detail/bessel_y0.hpp index 84b64aaa73..fb93edd1c8 100644 --- a/boost/math/special_functions/detail/bessel_y0.hpp +++ b/boost/math/special_functions/detail/bessel_y0.hpp @@ -19,6 +19,16 @@ #include <boost/math/policies/error_handling.hpp> #include <boost/assert.hpp> +#if defined(__GNUC__) && defined(BOOST_MATH_USE_FLOAT128) +// +// This is the only way we can avoid +// warning: non-standard suffix on floating constant [-Wpedantic] +// when building with -Wall -pedantic. Neither __extension__ +// nor #pragma dianostic ignored work :( +// +#pragma GCC system_header +#endif + // Bessel function of the second kind of order zero // x <= 8, minimax rational approximations on root-bracketing intervals // x > 8, Hankel asymptotic expansion in Hart, Computer Approximations, 1968 diff --git a/boost/math/special_functions/detail/bessel_y1.hpp b/boost/math/special_functions/detail/bessel_y1.hpp index 7dc99c42cd..98389a90e6 100644 --- a/boost/math/special_functions/detail/bessel_y1.hpp +++ b/boost/math/special_functions/detail/bessel_y1.hpp @@ -19,6 +19,16 @@ #include <boost/math/policies/error_handling.hpp> #include <boost/assert.hpp> +#if defined(__GNUC__) && defined(BOOST_MATH_USE_FLOAT128) +// +// This is the only way we can avoid +// warning: non-standard suffix on floating constant [-Wpedantic] +// when building with -Wall -pedantic. Neither __extension__ +// nor #pragma dianostic ignored work :( +// +#pragma GCC system_header +#endif + // Bessel function of the second kind of order one // x <= 8, minimax rational approximations on root-bracketing intervals // x > 8, Hankel asymptotic expansion in Hart, Computer Approximations, 1968 diff --git a/boost/math/special_functions/detail/igamma_large.hpp b/boost/math/special_functions/detail/igamma_large.hpp index eb3d4ba93e..59a75b1433 100644 --- a/boost/math/special_functions/detail/igamma_large.hpp +++ b/boost/math/special_functions/detail/igamma_large.hpp @@ -49,6 +49,16 @@ #pragma once #endif +#if defined(__GNUC__) && defined(BOOST_MATH_USE_FLOAT128) +// +// This is the only way we can avoid +// warning: non-standard suffix on floating constant [-Wpedantic] +// when building with -Wall -pedantic. Neither __extension__ +// nor #pragma dianostic ignored work :( +// +#pragma GCC system_header +#endif + namespace boost{ namespace math{ namespace detail{ // This version will never be called (at runtime), it's a stub used diff --git a/boost/math/special_functions/detail/lgamma_small.hpp b/boost/math/special_functions/detail/lgamma_small.hpp index e65f8b7e98..f4012d836b 100644 --- a/boost/math/special_functions/detail/lgamma_small.hpp +++ b/boost/math/special_functions/detail/lgamma_small.hpp @@ -12,6 +12,16 @@ #include <boost/math/tools/big_constant.hpp> +#if defined(__GNUC__) && defined(BOOST_MATH_USE_FLOAT128) +// +// This is the only way we can avoid +// warning: non-standard suffix on floating constant [-Wpedantic] +// when building with -Wall -pedantic. Neither __extension__ +// nor #pragma dianostic ignored work :( +// +#pragma GCC system_header +#endif + namespace boost{ namespace math{ namespace detail{ // diff --git a/boost/math/special_functions/detail/unchecked_factorial.hpp b/boost/math/special_functions/detail/unchecked_factorial.hpp index 17366742c4..642df7ce50 100644 --- a/boost/math/special_functions/detail/unchecked_factorial.hpp +++ b/boost/math/special_functions/detail/unchecked_factorial.hpp @@ -29,6 +29,16 @@ #include <boost/array.hpp> #endif +#if defined(__GNUC__) && defined(BOOST_MATH_USE_FLOAT128) +// +// This is the only way we can avoid +// warning: non-standard suffix on floating constant [-Wpedantic] +// when building with -Wall -pedantic. Neither __extension__ +// nor #pragma dianostic ignored work :( +// +#pragma GCC system_header +#endif + namespace boost { namespace math { // Forward declarations: |