Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / multiprecision / test / test_cpp_dec_float_conv.cpp
index eb05821..e562b36 100644 (file)
@@ -5,7 +5,7 @@
 //
 
 #ifdef _MSC_VER
-#  define _SCL_SECURE_NO_WARNINGS
+#define _SCL_SECURE_NO_WARNINGS
 #endif
 
 #include <boost/detail/lightweight_test.hpp>
@@ -20,12 +20,12 @@ int main()
    //
    // Test interconversions between different precisions:
    //
-   cpp_dec_float_50    f1(2);
-   cpp_dec_float_100   f2(3);
+   cpp_dec_float_50  f1(2);
+   cpp_dec_float_100 f2(3);
 
-   cpp_dec_float_100   f3 = f1;  // implicit conversion OK
+   cpp_dec_float_100 f3 = f1; // implicit conversion OK
    BOOST_TEST(f3 == 2);
-   cpp_dec_float_50    f4(f2);   // explicit conversion OK
+   cpp_dec_float_50 f4(f2); // explicit conversion OK
    BOOST_TEST(f4 == 3);
 
    f2 = f1;
@@ -34,9 +34,5 @@ int main()
    f1 = static_cast<cpp_dec_float_50>(f2);
    BOOST_TEST(f1 == 4);
 
-
    return boost::report_errors();
 }
-
-
-