Skip to content

Commit

Permalink
no_number_autocast fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil committed Nov 15, 2024
1 parent 189e9e0 commit d8baa1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/float/fast_float/digit_comparison.cr
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module Float::FastFloat
mantissa = (bits & mantissa_mask) | hidden_bit_mask
end

AdjustedMantissa.new(power2: power2, mantissa: mantissa)
AdjustedMantissa.new(power2: power2, mantissa: mantissa.to_u64!)
end

# get the extended precision value of the halfway point between b and b+u.
Expand Down

0 comments on commit d8baa1b

Please sign in to comment.