From 4750e3d5e3b7056d1b6f26f8f7410df65313bf86 Mon Sep 17 00:00:00 2001 From: HedgehogInTheCPP Date: Sat, 22 Aug 2026 22:53:55 +0300 Subject: [PATCH] compilation fix. --- include/fast_float/bigint.h | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/include/fast_float/bigint.h b/include/fast_float/bigint.h index 77c26a8..0421165 100644 --- a/include/fast_float/bigint.h +++ b/include/fast_float/bigint.h @@ -618,20 +618,16 @@ struct bigint : pow5_tables<> { exp -= small_step; } if (exp != 0) { - FASTFLOAT_TRY(small_mul( - vec, - limb( #if defined(__clang__) - // Work around clang bug https://godbolt.org/z/zedh7rrhc - // This is similar to - // https://github.com/llvm/llvm-project/issues/47746, except - // the workaround described there don't work here - (static_cast(small_power_of_5[0]), small_power_of_5[exp]) + // Work around clang bug https://godbolt.org/z/zedh7rrhc + // This is similar to + // https://github.com/llvm/llvm-project/issues/47746, except + // the workaround described there don't work here + FASTFLOAT_TRY(small_mul(vec, limb((static_cast(small_power_of_5[0]), + small_power_of_5[exp])))); #else - small_power_of_5[exp] + FASTFLOAT_TRY(small_mul(vec, limb(small_power_of_5[exp]))); #endif - - ))); } return true;