From dbb1ae7667feb82ace8b25a6cf30e5fd830094b4 Mon Sep 17 00:00:00 2001 From: Rose <83477269+AtariDreams@users.noreply.github.com> Date: Fri, 9 Dec 2022 11:07:42 -0500 Subject: [PATCH] Use cfloat instead of float.h It would be more consistent to use the C++ headers instead of the C ones. --- .../daubechies_wavelets/daubechies_scaling_integer_grid.cpp | 2 +- include/boost/math/cstdfloat/cstdfloat_types.hpp | 4 ++-- .../detail/daubechies_scaling_integer_grid.hpp | 2 +- include/boost/math/special_functions/fpclassify.hpp | 2 +- test/test_next.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/example/daubechies_wavelets/daubechies_scaling_integer_grid.cpp b/example/daubechies_wavelets/daubechies_scaling_integer_grid.cpp index 393823affb..59b55563c6 100644 --- a/example/daubechies_wavelets/daubechies_scaling_integer_grid.cpp +++ b/example/daubechies_wavelets/daubechies_scaling_integer_grid.cpp @@ -173,7 +173,7 @@ int main() << "#ifndef BOOST_MATH_DAUBECHIES_SCALING_INTEGER_GRID_HPP\n" << "#define BOOST_MATH_DAUBECHIES_SCALING_INTEGER_GRID_HPP\n" << "#include \n" - << "#include \n" + << "#include \n" << "#include \n" << "/*\n" << "In order to keep the character count as small as possible and speed up\n" diff --git a/include/boost/math/cstdfloat/cstdfloat_types.hpp b/include/boost/math/cstdfloat/cstdfloat_types.hpp index bc32c71fe9..b64276558b 100644 --- a/include/boost/math/cstdfloat/cstdfloat_types.hpp +++ b/include/boost/math/cstdfloat/cstdfloat_types.hpp @@ -12,14 +12,14 @@ #ifndef BOOST_MATH_CSTDFLOAT_TYPES_2014_01_09_HPP_ #define BOOST_MATH_CSTDFLOAT_TYPES_2014_01_09_HPP_ - #include + #include #include #include // This is the beginning of the preamble. // In this preamble, the preprocessor is used to query certain - // preprocessor definitions from . Based on the results + // preprocessor definitions from . Based on the results // of these queries, an attempt is made to automatically detect // the presence of built-in floating-point types having specified // widths. These are *thought* to be conformant with IEEE-754, diff --git a/include/boost/math/special_functions/detail/daubechies_scaling_integer_grid.hpp b/include/boost/math/special_functions/detail/daubechies_scaling_integer_grid.hpp index 4adc9f6a8f..f680c2b0f6 100644 --- a/include/boost/math/special_functions/detail/daubechies_scaling_integer_grid.hpp +++ b/include/boost/math/special_functions/detail/daubechies_scaling_integer_grid.hpp @@ -9,7 +9,7 @@ #ifndef BOOST_MATH_DAUBECHIES_SCALING_INTEGER_GRID_HPP #define BOOST_MATH_DAUBECHIES_SCALING_INTEGER_GRID_HPP #include -#include +#include #include /* In order to keep the character count as small as possible and speed up diff --git a/include/boost/math/special_functions/fpclassify.hpp b/include/boost/math/special_functions/fpclassify.hpp index 47d2a0e795..2c504d7ac8 100644 --- a/include/boost/math/special_functions/fpclassify.hpp +++ b/include/boost/math/special_functions/fpclassify.hpp @@ -77,7 +77,7 @@ is used. */ #if defined(_MSC_VER) || defined(BOOST_BORLANDC) -#include +#include #endif #ifdef BOOST_MATH_USE_FLOAT128 #ifdef __has_include diff --git a/test/test_next.cpp b/test/test_next.cpp index 4893336bb2..305dd8fee2 100644 --- a/test/test_next.cpp +++ b/test/test_next.cpp @@ -22,7 +22,7 @@ #if !defined(_CRAYC) && !defined(__CUDACC__) && (!defined(__GNUC__) || (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 3))) #if (defined(_M_IX86_FP) && (_M_IX86_FP >= 2)) || defined(__SSE2__) || defined(TEST_SSE2) -#include +#include #include "xmmintrin.h" #define TEST_SSE2 #endif