Skip to content

Commit

Permalink
Merge pull request #19592 from musm/patch-2
Browse files Browse the repository at this point in the history
fix typo in ldexp comment [skip ci]
  • Loading branch information
ViralBShah committed Dec 14, 2016
2 parents 57d7622 + 05e219f commit 3037157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/math.jl
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ function ldexp{T<:AbstractFloat}(x::T, e::Integer)
e < -50000 && return flipsign(T(0.0), x)
end
# For cases where e of an Integer larger than Int make sure we properly
# overlfow/underflow; this is optimized away otherwise.
# overflow/underflow; this is optimized away otherwise.
if e > typemax(Int)
return flipsign(T(Inf), x)
elseif e < typemin(Int)
Expand Down

0 comments on commit 3037157

Please sign in to comment.