Skip to content

Commit

Permalink
vectorize big(). closes JuliaLang#4766
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Nov 19, 2013
1 parent 1912c8d commit 5e0a92e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/sysimg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ big(n::Integer) = convert(BigInt,n)
big(x::FloatingPoint) = convert(BigFloat,x)
big(q::Rational) = big(num(q))//big(den(q))
big(z::Complex) = complex(big(real(z)),big(imag(z)))
@vectorize_1arg Number big

# mathematical constants
include("constants.jl")
Expand Down

0 comments on commit 5e0a92e

Please sign in to comment.