Skip to content

Commit

Permalink
Rename __shifted to shifted__ in ryu
Browse files Browse the repository at this point in the history
  • Loading branch information
widberg committed Sep 7, 2024
1 parent 86e73da commit 89d961f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcxx/src/ryu/d2fixed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ inline constexpr int __POW10_ADDITIONAL_BITS = 120;
const uint64_t __multiplied = __umul256_hi128_lo64(__vHi, __vLo, 0x89705F4136B4A597u, 0x31680A88F8953031u);

// For uint32_t truncation, see the __mod1e9() comment in d2s_intrinsics.h.
const uint32_t __shifted = static_cast<uint32_t>(__multiplied >> 29);
const uint32_t shifted__ = static_cast<uint32_t>(__multiplied >> 29);

return static_cast<uint32_t>(__vLo) - 1000000000 * __shifted;
return static_cast<uint32_t>(__vLo) - 1000000000 * shifted__;
}
#endif // ^^^ intrinsics available ^^^

Expand Down

0 comments on commit 89d961f

Please sign in to comment.