Skip to content

Commit 95c89e1

Browse files
committed
typo
1 parent 2cc7f47 commit 95c89e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/math/elementary/explog.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function Base.:(^)(r::DoubleFloat{T}, n::Int) where {T<:IEEEFloat}
120120
end
121121

122122
function Base.:(^)(r::DoubleFloat{T}, n::DoubleFloat{T}) where {T <: IEEEFloat}
123-
if isinteger(n) && n min(2^20, intmaxfloat(T, Int64))
123+
if isinteger(n) && n min(2^20, maxintfloat(T, Int64))
124124
return r^Int64(n.hi)
125125
else
126126
return exp(n * log(r))

0 commit comments

Comments
 (0)