From 89d961f7141016b3e5dfb68a7e11f92ebd106ed3 Mon Sep 17 00:00:00 2001 From: widberg Date: Fri, 6 Sep 2024 21:34:46 -0400 Subject: [PATCH] Rename __shifted to shifted__ in ryu --- libcxx/src/ryu/d2fixed.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxx/src/ryu/d2fixed.cpp b/libcxx/src/ryu/d2fixed.cpp index 4cfc39535988e2..de95aa4c942445 100644 --- a/libcxx/src/ryu/d2fixed.cpp +++ b/libcxx/src/ryu/d2fixed.cpp @@ -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(__multiplied >> 29); + const uint32_t shifted__ = static_cast(__multiplied >> 29); - return static_cast(__vLo) - 1000000000 * __shifted; + return static_cast(__vLo) - 1000000000 * shifted__; } #endif // ^^^ intrinsics available ^^^