Skip to content

Commit

Permalink
Fix asind typo. import Base.Math.* in sysimg.jl. All tests pass now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Viral B. Shah committed Oct 26, 2012
1 parent 341c96c commit b65a24e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
10 changes: 5 additions & 5 deletions base/math.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ module Math

import Base.*

export cbrt, sin, cos, tan, sinh, cosh, tanh, asin, acos, atan,
export sin, cos, tan, sinh, cosh, tanh, asin, acos, atan,
asinh, acosh, atanh, sec, csc, cot, asec, acsc, acot,
sech, csch, coth, asech, acsch, acoth, sinc, cosc,
cosd, cotd, cscd, secd, sind, tand,
acosd, acotd, acscd, asecd, asind, atand, atan2,
radians2degrees, degrees2radians,
log, log2, log10, log1p, logb, exp, exp2, expm1,
sqrt, square, erf, erfc, ceil, floor, trunc, round, lgamma,
hypot, gamma, lfact, max, min, ilogb, ldexp, frexp,
modf, ^
cbrt, sqrt, square, erf, erfc, ceil, floor, trunc, round,
lgamma, hypot, gamma, lfact, max, min, ilogb, ldexp, frexp,
clamp, modf, ^

# non-type specific math functions

Expand Down Expand Up @@ -46,7 +46,7 @@ for (fd, f) in ((:sind, :sins), (:cosd, :cos), (:tand, :tan),
end
end

for (fd, f) in ((:asin, :asin), (:acosd, :acos), (:atand, :atan),
for (fd, f) in ((:asind, :asin), (:acosd, :acos), (:atand, :atan),
(:asecd, :asec), (:acscd, :acsc), (:acotd, :acot))
@eval begin
($fd)(y) = degrees2radians(($f)(z))
Expand Down
11 changes: 7 additions & 4 deletions base/sysimg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,18 @@ include("client.jl")
include("intfuncs.jl")
include("floatfuncs.jl")
include("math.jl")
include("sort.jl")
include("combinatorics.jl")
include("statistics.jl")
import Base.Math.*

# random number generation
# random number generation and statistics
include("statistics.jl")
include("librandom.jl")
include("rng.jl")
import Base.RNG.*

# Combinatorics
include("sort.jl")
include("combinatorics.jl")

# distributed arrays and memory-mapped arrays
include("darray.jl")
include("mmap.jl")
Expand Down

0 comments on commit b65a24e

Please sign in to comment.