mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 01:06:48 +08:00
Update float_common.h
This commit is contained in:
parent
fa09c227c3
commit
002966323c
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user