We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 639e18b + 349643c commit 483325aCopy full SHA for 483325a
src/FixedPointDecimals.jl
@@ -490,6 +490,9 @@ function max_exp10(::Type{T}) where {T <: Integer}
490
end
491
492
max_exp10(::Type{BigInt}) = -1
493
+# Freeze the evaluation for Int128, since max_exp10(Int128) is too compilicated to get
494
+# optimized away by the compiler during const-folding.
495
+@eval max_exp10(::Type{Int128}) = $(max_exp10(Int128))
496
497
"""
498
coefficient(::Type{FD{T, f}}) -> T
0 commit comments