This commit is contained in:
Daniel Lemire 2020-10-29 16:47:33 -04:00
parent f7d3cdc426
commit e8e1a01733

View File

@ -354,7 +354,6 @@ adjusted_mantissa compute_float(decimal &d) {
template <typename binary> template <typename binary>
adjusted_mantissa parse_long_mantissa(const char *first, const char* last) { adjusted_mantissa parse_long_mantissa(const char *first, const char* last) {
decimal d = parse_decimal(first, last); decimal d = parse_decimal(first, last);
std::cout << " decimall " << d << std::endl;
// In some cases we can get lucky and looking at only the first 19 digits is enough. // In some cases we can get lucky and looking at only the first 19 digits is enough.
// Let us try that. // Let us try that.
const uint64_t mantissa = d.to_truncated_mantissa(); const uint64_t mantissa = d.to_truncated_mantissa();