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

parsefloat/parseint as call #10594

Closed
simonbyrne opened this issue Mar 21, 2015 · 5 comments
Closed

parsefloat/parseint as call #10594

simonbyrne opened this issue Mar 21, 2015 · 5 comments

Comments

@simonbyrne
Copy link
Contributor

The BigInt and BigFloat constructors both accept string arguments:

BigInt("12")
BigFloat("1.2")

However for bitstypes (Int, Float64, etc), we require parsefloat and parseint for the same functionality. What about overloading call instead?

@StefanKarpinski
Copy link
Member

+1

1 similar comment
@ViralBShah
Copy link
Member

👍

@dpsanders
Copy link
Contributor

👍

@JeffBezanson
Copy link
Member

See #10599 (comment). I may have to 👎 this.

@StefanKarpinski
Copy link
Member

I think we could have a big"1.2" macro instead of this and scrap the string constructors for big ints and floats.

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

5 participants