File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
include/boost/decimal/detail/cmath Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ BOOST_DECIMAL_EXPORT template <typename T>
2727constexpr auto ceil BOOST_DECIMAL_PREVENT_MACRO_SUBSTITUTION (T val) noexcept
2828 BOOST_DECIMAL_REQUIRES(detail::is_decimal_floating_point_v, T)
2929{
30- using DivType = T::significand_type;
30+ using DivType = typename T::significand_type;
3131
3232 constexpr T zero {0 , 0 };
3333 constexpr T one {1 , 0 };
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ BOOST_DECIMAL_EXPORT template <typename T>
2727constexpr auto floor BOOST_DECIMAL_PREVENT_MACRO_SUBSTITUTION (T val) noexcept
2828 BOOST_DECIMAL_REQUIRES(detail::is_decimal_floating_point_v, T)
2929{
30- using DivType = T::significand_type;
30+ using DivType = typename T::significand_type;
3131
3232 constexpr T zero {0 , 0 };
3333 constexpr T neg_one {1 , 0 , true };
Original file line number Diff line number Diff line change @@ -302,7 +302,6 @@ void test_multiplicatiom()
302302 BOOST_TEST (isnan (qnan_val * inf_val));
303303}
304304
305- /*
306305void test_div_mod ()
307306{
308307 constexpr decimal32_fast zero {0 , 0 };
@@ -347,7 +346,6 @@ void test_div_mod()
347346 BOOST_TEST (isinf (inf_val / 1 ));
348347 BOOST_TEST_EQ (1 / inf_val, zero);
349348}
350- */
351349
352350template <typename T>
353351void test_construct_from_integer ()
@@ -435,7 +433,7 @@ int main()
435433 test_addition ();
436434 test_subtraction ();
437435 test_multiplicatiom ();
438- // test_div_mod();
436+ test_div_mod ();
439437
440438 test_hash ();
441439
You can’t perform that action at this time.
0 commit comments