Skip to content

Commit

Permalink
Update ArbComplex.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreySarnoff authored Jul 29, 2018
1 parent ece5ce7 commit 3fcdee2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libarb/ArbComplex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ ArbComplex(x::ArbComplex{P}) where {P} = x
ArbComplex{P}(x::Missing) where {P} = missing
ArbComplex(x::Missing) = missing

ArbComplex(x, prec::Int) = prec>=MINIMUM_PRECISION ? ArbComplex{workingbits(prec)}(x) : throw(DomainError("bit precision ($prec) is too low"))
ArbComplex(x, y, prec::Int) = prec>=MINIMUM_PRECISION ? ArbComplex{workingbits(prec)}(x, y) : throw(DomainError("bit precision ($prec) is too low"))

@inline sign_bit(x::ArbComplex{P}) where {P} = isodd(x.real_mid_size)
Expand Down

0 comments on commit 3fcdee2

Please sign in to comment.