aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2023-05-02 08:55:35 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2023-05-02 08:55:35 +0300
commit90ddf78c37a7fe594e2f333ba85dba51a8b8aa83 (patch)
treee1d1d70391b4e36fd31b28779fa23642a4171d71
parentf77c03fb099abe032b99423ab21bb129e55faa47 (diff)
downloadydb-90ddf78c37a7fe594e2f333ba85dba51a8b8aa83.tar.gz
Update contrib/restricted/boost/math to 1.82.0
-rw-r--r--contrib/restricted/boost/math/README.md2
-rw-r--r--contrib/restricted/boost/math/include/boost/math/special_functions/detail/fp_traits.hpp2
-rw-r--r--contrib/restricted/boost/math/include/boost/math/special_functions/fpclassify.hpp2
-rw-r--r--contrib/restricted/boost/math/include/boost/math/tools/config.hpp3
-rw-r--r--contrib/restricted/boost/math/include/boost/math/tools/promotion.hpp2
5 files changed, 4 insertions, 7 deletions
diff --git a/contrib/restricted/boost/math/README.md b/contrib/restricted/boost/math/README.md
index cb33c60f302..6363e015279 100644
--- a/contrib/restricted/boost/math/README.md
+++ b/contrib/restricted/boost/math/README.md
@@ -61,7 +61,7 @@ The integration routines are usable for functions returning complex results - an
### Quaternions and Octonions
-Quaternion and Octonians are class templates similar to std::complex.
+Quaternion and Octonion are class templates similar to std::complex.
The full documentation is available on [boost.org](http://www.boost.org/doc/libs/release/libs/math).
diff --git a/contrib/restricted/boost/math/include/boost/math/special_functions/detail/fp_traits.hpp b/contrib/restricted/boost/math/include/boost/math/special_functions/detail/fp_traits.hpp
index ee98bc51fcb..975052b52e8 100644
--- a/contrib/restricted/boost/math/include/boost/math/special_functions/detail/fp_traits.hpp
+++ b/contrib/restricted/boost/math/include/boost/math/special_functions/detail/fp_traits.hpp
@@ -493,7 +493,7 @@ private:
// size_to_precision is a type switch for converting a C++ floating point type
// to the corresponding precision type.
-template<int n, bool fp> struct size_to_precision
+template<size_t n, bool fp> struct size_to_precision
{
typedef unknown_precision type;
};
diff --git a/contrib/restricted/boost/math/include/boost/math/special_functions/fpclassify.hpp b/contrib/restricted/boost/math/include/boost/math/special_functions/fpclassify.hpp
index 47d2a0e7955..2c504d7ac8a 100644
--- a/contrib/restricted/boost/math/include/boost/math/special_functions/fpclassify.hpp
+++ b/contrib/restricted/boost/math/include/boost/math/special_functions/fpclassify.hpp
@@ -77,7 +77,7 @@ is used.
*/
#if defined(_MSC_VER) || defined(BOOST_BORLANDC)
-#include <float.h>
+#include <cfloat>
#endif
#ifdef BOOST_MATH_USE_FLOAT128
#ifdef __has_include
diff --git a/contrib/restricted/boost/math/include/boost/math/tools/config.hpp b/contrib/restricted/boost/math/include/boost/math/tools/config.hpp
index af2c64b4cf1..a52393e7bb3 100644
--- a/contrib/restricted/boost/math/include/boost/math/tools/config.hpp
+++ b/contrib/restricted/boost/math/include/boost/math/tools/config.hpp
@@ -168,9 +168,6 @@
#include <cmath>
#include <climits>
#include <cfloat>
-#if (defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__))
-# include <math.h>
-#endif
#include <boost/math/tools/user.hpp>
diff --git a/contrib/restricted/boost/math/include/boost/math/tools/promotion.hpp b/contrib/restricted/boost/math/include/boost/math/tools/promotion.hpp
index 72a0755a16e..55ba064c711 100644
--- a/contrib/restricted/boost/math/include/boost/math/tools/promotion.hpp
+++ b/contrib/restricted/boost/math/include/boost/math/tools/promotion.hpp
@@ -133,7 +133,7 @@ namespace boost
>::type
>::type;
-#ifdef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+#if defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS)
//
// Guard against use of long double if it's not supported:
//