Skip to content

Commit

Permalink
more Int32 stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne committed Sep 14, 2018
1 parent 9fbac02 commit 21f63d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/mpfr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ function setprecision(::Type{BigFloat}, precision::Integer)
return precision
end

setprecision(precision::Int) = setprecision(BigFloat, precision)
setprecision(precision::Integer) = setprecision(BigFloat, precision)

maxintfloat(x::BigFloat) = BigFloat(2)^precision(x)
maxintfloat(::Type{BigFloat}) = BigFloat(2)^precision(BigFloat)
Expand Down

0 comments on commit 21f63d4

Please sign in to comment.