]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/multiprecision/test/test_arithmetic_cpp_dec_float_3.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / multiprecision / test / test_arithmetic_cpp_dec_float_3.cpp
index 603560b3c81a6cc011fbd2d811df942e5d53f12c..ff776376da8a8176eeaade9ad2f4e7e82adb863a 100644 (file)
@@ -1,16 +1,18 @@
 ///////////////////////////////////////////////////////////////
 //  Copyright 2012 John Maddock. Distributed under the Boost
 //  Software License, Version 1.0. (See accompanying file
-//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
+//  LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
+
+#define NO_MIXED_OPS
 
 #include <boost/multiprecision/cpp_dec_float.hpp>
 
 #include "test_arithmetic.hpp"
 
 template <unsigned D>
-struct related_type<boost::multiprecision::number< boost::multiprecision::cpp_dec_float<D> > >
+struct related_type<boost::multiprecision::number<boost::multiprecision::cpp_dec_float<D> > >
 {
-   typedef boost::multiprecision::number< boost::multiprecision::cpp_dec_float<D/2> > type;
+   typedef boost::multiprecision::number<boost::multiprecision::cpp_dec_float<D / 2> > type;
 };
 
 int main()
@@ -18,4 +20,3 @@ int main()
    test<boost::multiprecision::number<boost::multiprecision::cpp_dec_float<100, long long, std::allocator<char> >, boost::multiprecision::et_on> >();
    return boost::report_errors();
 }
-