Skip to content

Commit

Permalink
Deprecate JuliaLibm.log
Browse files Browse the repository at this point in the history
  • Loading branch information
pkofod committed Nov 30, 2017
1 parent 4e2974a commit bd9bc4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2116,6 +2116,11 @@ end
finalizer(f::Ptr{Void}, o::Ptr{Void}) = invoke(finalizer, Tuple{Ptr{Void}, Any}, f, o)
finalizer(f::Ptr{Void}, o::Function) = invoke(finalizer, Tuple{Ptr{Void}, Any}, f, o)

# Remember to delete the module when removing this
@eval Math.JuliaLibm begin
Base.@deprecate log(x) Base.log(x)
end

# END 0.7 deprecations

# BEGIN 1.0 deprecations
Expand Down
1 change: 0 additions & 1 deletion base/math.jl
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,6 @@ include(joinpath("special", "rem_pio2.jl"))
include(joinpath("special", "log.jl"))

module JuliaLibm
include(joinpath("special", "log.jl"))
end

end # module

0 comments on commit bd9bc4c

Please sign in to comment.