mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
* try to fix precision error on x86 platform step5.
This commit is contained in:
parent
578b1e9898
commit
cd62aadb1b
@ -450,7 +450,7 @@ typedef int64_t am_pow_t; // can't be int_fast16_t because invalid_am_bias
|
|||||||
// hacks. Needs rewriting this.
|
// hacks. Needs rewriting this.
|
||||||
|
|
||||||
// Bias so we can get the real exponent with an invalid adjusted_mantissa.
|
// Bias so we can get the real exponent with an invalid adjusted_mantissa.
|
||||||
constexpr static am_pow_t invalid_am_bias = -0x8000;
|
constexpr static am_pow_t invalid_am_bias = -0x800000000000000;
|
||||||
|
|
||||||
struct adjusted_mantissa {
|
struct adjusted_mantissa {
|
||||||
am_mant_t mantissa;
|
am_mant_t mantissa;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user