mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-11-09 14:49:59 +08:00
compilation fix.
This commit is contained in:
parent
207069edcd
commit
4750e3d5e3
@ -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<void>(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<void>(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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user