Skip to content

Commit

Permalink
rocket/ascii_numput: Minor fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Jan 10, 2024
1 parent 0001571 commit 0556567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocket/ascii_numput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ do_frexp10_8(float value)

// Get the multiplier for this value, using binary search. This
// will not become a subnormal double; no need to check that.
uint64_t xbits = (uint64_t)(uint32_t) (frx.exp + 896) << 52 | frx.mant << 29;
uint64_t xbits = (uint64_t) ((uint32_t) frx.exp + 896) << 52 | frx.mant << 29;
uint32_t bnds[2] = { 1, ::std::size(s_decimal_multipliers) };

while(bnds[0] != bnds[1]) {
Expand Down

0 comments on commit 0556567

Please sign in to comment.