@@ -216,7 +216,7 @@ BOOST_DECIMAL_EXPORT class decimal_fast128_t final
216216 #else
217217 template <typename T1, typename T2, std::enable_if_t <detail::is_unsigned_v<T1> && detail::is_integral_v<T2>, bool > = true >
218218 #endif
219- constexpr decimal_fast128_t (T1 coeff, T2 exp, detail::construction_sign_wrapper resultant_sign) noexcept ;
219+ constexpr decimal_fast128_t (T1 coeff, T2 exp, detail::construction_sign_wrapper resultant_sign = construction_sign::positive ) noexcept ;
220220
221221 #ifdef BOOST_DECIMAL_HAS_CONCEPTS
222222 template <BOOST_DECIMAL_SIGNED_INTEGRAL T1, BOOST_DECIMAL_INTEGRAL T2>
@@ -1618,7 +1618,7 @@ class numeric_limits_impl128f
16181618 // Member functions
16191619 static constexpr auto (min) () -> boost::decimal::decimal_fast128_t { return {UINT32_C (1 ), min_exponent}; }
16201620 static constexpr auto (max) () -> boost::decimal::decimal_fast128_t { return {boost::int128::uint128_t {UINT64_C (0b1111011010000100110111110101011011000011111000000 ), UINT64_C (0b0011011110001101100011100110001111111111111111111111111111111111 )}, max_exponent - digits + 1 }; }
1621- static constexpr auto lowest () -> boost::decimal::decimal_fast128_t { return {boost::int128::uint128_t {UINT64_C (0b1111011010000100110111110101011011000011111000000 ), UINT64_C (0b0011011110001101100011100110001111111111111111111111111111111111 )}, max_exponent - digits + 1 , true }; }
1621+ static constexpr auto lowest () -> boost::decimal::decimal_fast128_t { return {boost::int128::uint128_t {UINT64_C (0b1111011010000100110111110101011011000011111000000 ), UINT64_C (0b0011011110001101100011100110001111111111111111111111111111111111 )}, max_exponent - digits + 1 , construction_sign::negative }; }
16221622 static constexpr auto epsilon () -> boost::decimal::decimal_fast128_t { return {UINT32_C (1 ), -digits + 1 }; }
16231623 static constexpr auto round_error () -> boost::decimal::decimal_fast128_t { return epsilon (); }
16241624 static constexpr auto infinity () -> boost::decimal::decimal_fast128_t { return boost::decimal::direct_init_d128 (boost::decimal::detail::d128_fast_inf, 0 , false ); }
0 commit comments