Fix tests

This commit is contained in:
Jordi Villar 2023-03-24 23:58:59 +01:00
parent 20fa73042d
commit 4eafb1ae6b

View File

@ -1242,7 +1242,7 @@ constexpr integer<Bits, Signed>::operator long double() const noexcept
for (unsigned i = 0; i < _impl::item_count; ++i)
{
long double t = res;
res *= std::numeric_limits<long double>::max();
res *= static_cast<long double>(std::numeric_limits<base_type>::max());
res += t;
res += tmp.items[_impl::big(i)];
}