diff options
author | Artem Zuikov <chertus@gmail.com> | 2022-02-10 16:46:28 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:28 +0300 |
commit | 889e4ac5f8ac5a463b06b9b64de835d736c06980 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/restricted | |
parent | d23c9e2333524245de2f721e04136f51c31411ef (diff) | |
download | ydb-889e4ac5f8ac5a463b06b9b64de835d736c06980.tar.gz |
Restoring authorship annotation for Artem Zuikov <chertus@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'contrib/restricted')
-rw-r--r-- | contrib/restricted/boost/boost/multiprecision/cpp_int/add.hpp | 8 | ||||
-rw-r--r-- | contrib/restricted/boost/boost/multiprecision/cpp_int/comparison.hpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/contrib/restricted/boost/boost/multiprecision/cpp_int/add.hpp b/contrib/restricted/boost/boost/multiprecision/cpp_int/add.hpp index d4ea127e97..f8ec7bb135 100644 --- a/contrib/restricted/boost/boost/multiprecision/cpp_int/add.hpp +++ b/contrib/restricted/boost/boost/multiprecision/cpp_int/add.hpp @@ -64,7 +64,7 @@ inline void add_unsigned(CppInt1& result, const CppInt2& a, const CppInt3& b) BO if(!carry) { if(pa != pr) -#if BOOST_WORKAROUND(BOOST_MSVC, >= 1600) && !defined(_LIBCPP_VERSION) +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1600) && !defined(_LIBCPP_VERSION) std::copy(pa, pa + (pr_end - pr), stdext::checked_array_iterator<limb_type*>(pr, result.size())); #else std::copy(pa, pa + (pr_end - pr), pr); @@ -201,7 +201,7 @@ inline void subtract_unsigned(CppInt1& result, const CppInt2& a, const CppInt3& } // Any remaining digits are the same as those in pa: if((x != i) && (pa != pr)) -#if BOOST_WORKAROUND(BOOST_MSVC, >= 1600) && !defined(_LIBCPP_VERSION) +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1600) && !defined(_LIBCPP_VERSION) std::copy(pa + i, pa + x, stdext::checked_array_iterator<limb_type*>(pr + i, result.size() - i)); #else std::copy(pa + i, pa + x, pr + i); @@ -233,7 +233,7 @@ inline void subtract_unsigned(CppInt1& result, const CppInt2& a, const limb_type *pr = *pa - b; if(&result != &a) { -#if BOOST_WORKAROUND(BOOST_MSVC, >= 1600) && !defined(_LIBCPP_VERSION) +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1600) && !defined(_LIBCPP_VERSION) std::copy(pa + 1, pa + a.size(), stdext::checked_array_iterator<limb_type*>(pr + 1, result.size() - 1)); #else std::copy(pa + 1, pa + a.size(), pr + 1); @@ -263,7 +263,7 @@ inline void subtract_unsigned(CppInt1& result, const CppInt2& a, const limb_type if(&result != &a) { ++i; -#if BOOST_WORKAROUND(BOOST_MSVC, >= 1600) && !defined(_LIBCPP_VERSION) +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1600) && !defined(_LIBCPP_VERSION) std::copy(pa + i, pa + a.size(), stdext::checked_array_iterator<limb_type*>(pr + i, result.size() - i)); #else std::copy(pa + i, pa + a.size(), pr + i); diff --git a/contrib/restricted/boost/boost/multiprecision/cpp_int/comparison.hpp b/contrib/restricted/boost/boost/multiprecision/cpp_int/comparison.hpp index 53500de7f0..8d8e7aacb8 100644 --- a/contrib/restricted/boost/boost/multiprecision/cpp_int/comparison.hpp +++ b/contrib/restricted/boost/boost/multiprecision/cpp_int/comparison.hpp @@ -27,7 +27,7 @@ BOOST_MP_FORCEINLINE typename enable_if_c< >::type eval_eq(const cpp_int_backend<MinBits, MaxBits, SignType, Checked, Allocator>& a, const cpp_int_backend<MinBits, MaxBits, SignType, Checked, Allocator>& b) BOOST_NOEXCEPT { -#if BOOST_WORKAROUND(BOOST_MSVC, >= 1600) && !defined(_LIBCPP_VERSION) +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1600) && !defined(_LIBCPP_VERSION) return (a.sign() == b.sign()) && (a.size() == b.size()) && std::equal(a.limbs(), a.limbs() + a.size(), @@ -46,7 +46,7 @@ BOOST_MP_FORCEINLINE typename enable_if_c< >::type eval_eq(const cpp_int_backend<MinBits1, MaxBits1, SignType1, Checked1, Allocator1>& a, const cpp_int_backend<MinBits2, MaxBits2, SignType2, Checked2, Allocator2>& b) BOOST_NOEXCEPT { -#if BOOST_WORKAROUND(BOOST_MSVC, >= 1600) && !defined(_LIBCPP_VERSION) +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1600) && !defined(_LIBCPP_VERSION) return (a.sign() == b.sign()) && (a.size() == b.size()) && std::equal(a.limbs(), a.limbs() + a.size(), stdext::checked_array_iterator<cpp_int_backend<MinBits2, MaxBits2, SignType2, Checked2, Allocator2>::const_limb_pointer>(b.limbs(), b.size())); |