MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / min_safe_u64

Function min_safe_u64

app/src/ThirdParty/fast_float.h:1476–1478  ·  view source on GitHub ↗

If a u64 is exactly max_digits_u64() in length, this is the value below which it has definitely overflowed.

Source from the content-addressed store, hash-verified

1474// If a u64 is exactly max_digits_u64() in length, this is
1475// the value below which it has definitely overflowed.
1476fastfloat_really_inline constexpr uint64_t min_safe_u64(int base) {
1477 return int_luts<>::min_safe_u64[base - 2];
1478}
1479
1480static_assert(std::is_same<equiv_uint_t<double>, uint64_t>::value,
1481 "equiv_uint should be uint64_t for double");

Callers 1

fast_float.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected