...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
final
in cpp_int.
std::string_view
.
cpp_int
a runtime errors. See #58.
cpp_bin_float_oct
and cpp_complex_oct
.
long long
,
or else we're converting to an integer that is wider than we are.
std::byte
.
static_cast<unsigned>(~static_cast<unsigned>(0) & my_value)
.
Note that technically (to avoid undefined behaviour) you should do the
same thing with built in integer types too. See #13109.
cpp_bin_float
prevent
double rounding when converting to a denormalized float. See #12527.
cpp_bin_float
.
cpp_bin_float
rounding code to round at arbitrary location so we can use it for conversions,
see #12527.
cpp_bin_float
.
See: #12580.
cpp_int
's,
see #12627.
ilogb
(and code that
uses it) to consistently return the smallest value of the exponent type
when the argument is zero, see #12625.
float128
to cpp_bin_float
.
cpp_int
which would result in bit-loss, see #12790.
cpp_int
's
caused by over-aggressive constexpr optimization, see #12798.
Boost.Hash
or std::hash
.
mpfr_float_backend
with fixed allocation.
signbit
and copysign
, mpfr, float128, and cpp_bin_float
types should now respect signed-zeros correctly.
cpp_int
code to
be used with /RTCc with MSVC.
cpp_int
to signed integer when the result is INT_MIN, see #12343.
cpp_int
constructors
are available on non-little-endian machines).
a =
a *
a *
a
, see #12408.
cpp_int
to cpp_bin_float
.
cpp_bin_float.convert_to<double>()
to a function template rather than
proceding via long double
to avoid double-rounding bug, see #12039.
frexp
to always
be non-expression template generating, see: 10993.
rational_adapter
to rational_adaptor
.
float128
or Intel's _Quad
data
types.
constexpr
support.
cpp_int
that results in incorrect sign of cpp_int
when both arguments are small enough to fit in a double_limb_type
.
See 8126.
cpp_int
that results in incorrect value when the result should have a 0 in the
last limb: 8133.
cpp_int
where division of 0 by something doesn't get zero in the result: 8160.
a
= pow(a, b)
. See 8326.
cpp_int
that gives incorrect answer for 0%N for large N: 8670.
constexp
.
number
to use enumerated values rather than true/false.
cpp_int_backend
based on review comments with new template parameter structure.
mpfr_float_backend
to allow stack-based allocation.