Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macro for Base.parse(::BigFloat, s::AbstractString) #74

Closed
lbenet opened this issue Apr 28, 2015 · 1 comment
Closed

Macro for Base.parse(::BigFloat, s::AbstractString) #74

lbenet opened this issue Apr 28, 2015 · 1 comment

Comments

@lbenet
Copy link
Contributor

lbenet commented Apr 28, 2015

A recent change JuliaLang/julia/pull/10955 deprecates BigFloat("0.1") in favor of parse(BigFloat,"0.1").

Is the following useful?

if VERSION < v"0.4.0-dev+4539"
    Base.parse(::BigFloat, s::AbstractString) = BigFloat(s)
end
lbenet pushed a commit to lbenet/Compat.jl that referenced this issue Apr 28, 2015
tkelman added a commit that referenced this issue Apr 29, 2015
Implements macro for Base.parse(::BigFloat, s::AbstractString) #74
@lbenet
Copy link
Contributor Author

lbenet commented Apr 29, 2015

Implemented in #76

@lbenet lbenet closed this as completed Apr 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant