Skip to content

Commit 685b3dc

Browse files
NHDalyomus
andauthored
Update src/FixedPointDecimals.jl
Co-Authored-By: Curtis Vogt <curtis.vogt@gmail.com>
1 parent 317c82b commit 685b3dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/FixedPointDecimals.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ function max_exp10(::Type{T}) where {T <: Integer}
500500
end
501501

502502
max_exp10(::Type{BigInt}) = -1
503+
503504
# Freeze the evaluation for BitInteger types, since max_exp10() is too compilicated to get
504505
# optimized away by the compiler during const-folding. (We can't freeze for user-defined
505506
# types because we don't know what they are yet.)

0 commit comments

Comments
 (0)