MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / round_up_bigint

Function round_up_bigint

source/extern/fast_float.h:3362–3368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3360}
3361
3362fastfloat_really_inline FASTFLOAT_CONSTEXPR20 void
3363round_up_bigint(bigint &big, size_t &count) noexcept {
3364 // need to round-up the digits, but need to avoid rounding
3365 // ....9999 to ...10000, which could cause a false halfway point.
3366 add_native(big, 10, 1);
3367 count++;
3368}
3369
3370// parse the significant digits into a big integer
3371template <typename UC>

Callers 1

parse_mantissaFunction · 0.85

Calls 1

add_nativeFunction · 0.85

Tested by

no test coverage detected