We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd62aad commit df6b574Copy full SHA for df6b574
include/fast_float/float_common.h
@@ -446,11 +446,11 @@ typedef int_fast8_t am_bits_t;
446
447
// Power bias is signed for handling a denormal float
448
// or an invalid mantissa.
449
-typedef int64_t am_pow_t; // can't be int_fast16_t because invalid_am_bias
+typedef int16_t am_pow_t; // can't be int_fast16_t because invalid_am_bias
450
// hacks. Needs rewriting this.
451
452
// Bias so we can get the real exponent with an invalid adjusted_mantissa.
453
-constexpr static am_pow_t invalid_am_bias = -0x800000000000000;
+constexpr static am_pow_t invalid_am_bias = -0x8000;
454
455
struct adjusted_mantissa {
456
am_mant_t mantissa;
0 commit comments