diff --git a/base/exports.jl b/base/exports.jl index cfc1574f57046..86aabb3a7a6fd 100644 --- a/base/exports.jl +++ b/base/exports.jl @@ -203,7 +203,6 @@ export π, pi, e, eu, γ, eulergamma, - catalan, φ, golden, I, diff --git a/base/irrationals.jl b/base/irrationals.jl index 7e7d1342f4a1f..19d2776713a21 100644 --- a/base/irrationals.jl +++ b/base/irrationals.jl @@ -101,11 +101,10 @@ big(x::Irrational) = convert(BigFloat,x) ## specific irriational mathematical constants -@irrational π 3.14159265358979323846 pi -@irrational e 2.71828182845904523536 exp(big(1)) -@irrational γ 0.57721566490153286061 euler -@irrational catalan 0.91596559417721901505 catalan -@irrational φ 1.61803398874989484820 (1+sqrt(big(5)))/2 +@irrational π 3.14159265358979323846 pi +@irrational e 2.71828182845904523536 exp(big(1)) +@irrational γ 0.57721566490153286061 euler +@irrational φ 1.61803398874989484820 (1+sqrt(big(5)))/2 # aliases const pi = π diff --git a/contrib/julia.xml b/contrib/julia.xml index 587841cdc657d..c96a565b0ff5d 100644 --- a/contrib/julia.xml +++ b/contrib/julia.xml @@ -319,7 +319,6 @@ eu γ eulergamma - catalan φ golden diff --git a/doc/stdlib/numbers.rst b/doc/stdlib/numbers.rst index 0f74f158c29fa..afc4915e8c28b 100644 --- a/doc/stdlib/numbers.rst +++ b/doc/stdlib/numbers.rst @@ -181,10 +181,6 @@ General Number Functions and Constants The constant e -.. data:: catalan - - Catalan's constant - .. data:: γ eulergamma diff --git a/test/rounding.jl b/test/rounding.jl index 022058b3cbf20..e66acb007a1d9 100644 --- a/test/rounding.jl +++ b/test/rounding.jl @@ -110,7 +110,7 @@ end for T in [Float32,Float64] for v in [sqrt(big(2.0)),-big(1.0)/big(3.0),nextfloat(big(1.0)), prevfloat(big(1.0)),nextfloat(big(0.0)),prevfloat(big(0.0)), - pi,e,eulergamma,catalan,golden, + pi,e,eulergamma,golden, typemax(Int64),typemax(UInt64),typemax(Int128),typemax(UInt128),0xa2f30f6001bb2ec6] pn = T(v,RoundNearest) @test pn == convert(T,BigFloat(v))