MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / round_up_bigint

Function round_up_bigint

Source/external/fast_float.h:2911–2917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2909}
2910
2911fastfloat_really_inline FASTFLOAT_CONSTEXPR20
2912void round_up_bigint(bigint& big, size_t& count) noexcept {
2913 // need to round-up the digits, but need to avoid rounding
2914 // ....9999 to ...10000, which could cause a false halfway point.
2915 add_native(big, 10, 1);
2916 count++;
2917}
2918
2919// parse the significant digits into a big integer
2920inline FASTFLOAT_CONSTEXPR20

Callers 1

parse_mantissaFunction · 0.85

Calls 1

add_nativeFunction · 0.85

Tested by

no test coverage detected