Skip to content

Commit 7273ff1

Browse files
committed
Activate last basis test
1 parent 4642f22 commit 7273ff1

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

include/boost/decimal/detail/cmath/ceil.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ BOOST_DECIMAL_EXPORT template <typename T>
2727
constexpr 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};

include/boost/decimal/detail/cmath/floor.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ BOOST_DECIMAL_EXPORT template <typename T>
2727
constexpr 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};

test/test_decimal32_fast_basis.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ void test_multiplicatiom()
302302
BOOST_TEST(isnan(qnan_val * inf_val));
303303
}
304304

305-
/*
306305
void 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

352350
template <typename T>
353351
void 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

0 commit comments

Comments
 (0)