Update float_common.h

This commit is contained in:
Daniel Lemire 2021-01-07 16:44:07 -05:00 committed by GitHub
parent fa09c227c3
commit 002966323c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,7 +179,7 @@ fastfloat_really_inline value128 full_multiplication(uint64_t a,
struct adjusted_mantissa { struct adjusted_mantissa {
uint64_t mantissa{0}; uint64_t mantissa{0};
int power2{0}; // a negative value indicate an invalid result int power2{0}; // a negative value indicates an invalid result
adjusted_mantissa() = default; adjusted_mantissa() = default;
// bool operator==(const adjusted_mantissa &o) const = default; // bool operator==(const adjusted_mantissa &o) const = default;
bool operator==(const adjusted_mantissa &o) const { bool operator==(const adjusted_mantissa &o) const {
@ -373,4 +373,4 @@ inline OStream& operator<<(OStream &out, const fast_float::decimal &d) {
return out; return out;
} }
#endif #endif