mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 08:46:49 +08:00
* try to fix precision error on x86 platform step2.
This commit is contained in:
parent
e6f2bf13b4
commit
e96afe608e
@ -446,7 +446,7 @@ typedef int_fast8_t am_bits_t;
|
||||
|
||||
// Power bias is signed for handling a denormal float
|
||||
// or an invalid mantissa.
|
||||
typedef int_fast16_t am_pow_t;
|
||||
typedef int16_t am_pow_t; // can't be int_fast16_t because invalid_am_bias hacks. Needs rewriting this.
|
||||
|
||||
// Bias so we can get the real exponent with an invalid adjusted_mantissa.
|
||||
constexpr static am_pow_t invalid_am_bias = -0x8000;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user