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.
max_exp10(Int128)
1 parent 40d1439 commit 349643cCopy full SHA for 349643c
src/FixedPointDecimals.jl
@@ -484,7 +484,9 @@ function max_exp10(::Type{T}) where {T <: Integer}
484
end
485
486
max_exp10(::Type{BigInt}) = -1
487
-@eval max_exp10(::Type{Int128}) = $(max_exp10(Int128)) # Freeze this, since it's not getting Const folded.
+# Freeze the evaluation for Int128, since max_exp10(Int128) is too compilicated to get
488
+# optimized away by the compiler during const-folding.
489
+@eval max_exp10(::Type{Int128}) = $(max_exp10(Int128))
490
491
"""
492
coefficient(::Type{FD{T, f}}) -> T
0 commit comments