Skip to content

Commit

Permalink
Update arith.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreySarnoff authored Jul 5, 2018
1 parent 32873da commit d764848
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/float/arith.jl
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ for F in (:(+), :(-), :(*), :(/), :(^))
($F)(x::Integer, y::ArbFloat{P}) where {P} = ($F)(promote(x, y)...,)
($F)(x::Integer, y::ArbBall{P}) where {P} = ($F)(promote(x, y)...,)
($F)(x::Integer, y::ArbComplex{P}) where {P} = ($F)(promote(x, y)...,)
($F)(x::AbstractFloat, y::ArbFloat{P}) where {P} = ($F)(promote(x, y)...,)
($F)(x::AbstractFloat, y::ArbBall{P}) where {P} = ($F)(promote(x, y)...,)
($F)(x::AbstractFloat, y::ArbComplex{P}) where {P} = ($F)(promote(x, y)...,)
($F)(x::IEEEFloat, y::ArbFloat{P}) where {P} = ($F)(promote(x, y)...,)
($F)(x::IEEEFloat, y::ArbBall{P}) where {P} = ($F)(promote(x, y)...,)
($F)(x::IEEEFloat, y::ArbComplex{P}) where {P} = ($F)(promote(x, y)...,)
($F)(x::Complex, y::ArbComplex{P}) where {P} = ($F)(promote(x, y)...,)
end
end

0 comments on commit d764848

Please sign in to comment.