diff --git a/README.md b/README.md index 68d394908..d9aaf62ac 100644 --- a/README.md +++ b/README.md @@ -78,8 +78,6 @@ Currently, the `@compat` macro supports the following syntaxes: * `Compat.split` and `Compat.rsplit` accept `keepempty` keyword argument if `splitter` is given as second argument ([#26634]) -* `atan2` is now a 2-argument method of `atan` ([#27253]). - * `realmin` and `realmax` are now `floatmin` and `floatmax` ([#28302]) * `squeeze` is now `dropdims` ([#28303], [#26660]). diff --git a/src/Compat.jl b/src/Compat.jl index fdc17fb52..40eb59ec7 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -82,11 +82,6 @@ end end end -# https://github.com/JuliaLang/julia/pull/27253 -@static if VERSION < v"0.7.0-alpha.44" - Base.atan(x::Real, y::Real) = atan2(x, y) -end - # https://github.com/JuliaLang/julia/pull/26647 @static if VERSION < v"0.7.0-DEV.4724" rsplit(s::AbstractString, splitter; limit::Integer=0, keepempty::Bool=false) = diff --git a/test/old.jl b/test/old.jl index 3e9934ef1..6f22334ec 100644 --- a/test/old.jl +++ b/test/old.jl @@ -1219,3 +1219,9 @@ end # julia#24839 @test permutedims([1 2; 3 4]) == [1 3; 2 4] @test permutedims([1,2,3]) == [1 2 3] + +# 0.7.0-alpha.44 +@test atan(1, 2) == atan(0.5) +@test atan(1.0, 2.0) == atan(0.5) +@test atan(-1.0, -2.0) ≈ atan(0.5) - π +@test atan(big"-1.0", big"-2.0") ≈ atan(big"0.5") - π diff --git a/test/runtests.jl b/test/runtests.jl index 3c988c148..d00e81180 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -80,12 +80,6 @@ let A = [1] @test x == 1 end -# 0.7.0-alpha.44 -@test atan(1, 2) == atan(0.5) -@test atan(1.0, 2.0) == atan(0.5) -@test atan(-1.0, -2.0) ≈ atan(0.5) - π -@test atan(big"-1.0", big"-2.0") ≈ atan(big"0.5") - π - # 0.7.0-DEV.4724 let @test Compat.split("", ',' ; keepempty=false) == []