mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-07-21 13:23:49 +00:00
Try repair some trivial typos
This commit is contained in:
@@ -39,7 +39,7 @@ constexpr auto float_mask() noexcept -> UnsignedIntegralType
|
||||
using local_unsigned_integral_type = UnsignedIntegralType;
|
||||
using local_float_type = FloatType;
|
||||
|
||||
static_assert(static_cast<int>(sizeof(UnsignedIntegralType) * 8u) > static_cast<int>(cpp_df_qf_detail::ccmath::numeric_limits<local_float_type>::digits),
|
||||
static_assert(static_cast<int>(sizeof(local_unsigned_integral_type) * 8u) > static_cast<int>(cpp_df_qf_detail::ccmath::numeric_limits<local_float_type>::digits),
|
||||
"Error: this function is intended for unsigned integral type wider than the float type.");
|
||||
|
||||
return
|
||||
|
||||
@@ -60,17 +60,9 @@
|
||||
#include <boost/multiprecision/float128.hpp>
|
||||
#endif
|
||||
#ifdef TEST_CPP_DOUBLE_FLOAT
|
||||
|
||||
// When using very old GCC, categorically disable this test for cpp_double_fp_backend.
|
||||
// Do not attempt, at the moment, to track down the compiler's "internal failure".
|
||||
|
||||
#if (defined(BOOST_GCC) && !defined(BOOST_CLANG) && (BOOST_GCC < 80000))
|
||||
#else
|
||||
#include <boost/multiprecision/cpp_double_fp.hpp>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
#pragma warning(disable : 4127)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user