Skip to content

Commit b3db44c

Browse files
committed
make ryu use llcttz instead of two lcttz
1 parent 01ca041 commit b3db44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcxxrt/ryu/d2s.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ struct __floating_decimal_64 {
492492
36893488u, 7378697u, 1475739u, 295147u, 59029u, 11805u, 2361u, 472u, 94u, 18u, 3u };
493493

494494
unsigned long _Trailing_zero_bits;
495-
#ifdef _LIBCPP_HAS_BITSCAN64
495+
#if defined(_LIBCPP_HAS_BITSCAN64) || defined(_EZ80)
496496
(void) _BitScanForward64(&_Trailing_zero_bits, __v.__mantissa); // __v.__mantissa is guaranteed nonzero
497497
#else // ^^^ 64-bit ^^^ / vvv 32-bit vvv
498498
const uint32_t _Low_mantissa = static_cast<uint32_t>(__v.__mantissa);

0 commit comments

Comments
 (0)