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

Underscores in big_str macro for floats #40368

Closed
mortenpi opened this issue Apr 6, 2021 · 1 comment · Fixed by #43346
Closed

Underscores in big_str macro for floats #40368

mortenpi opened this issue Apr 6, 2021 · 1 comment · Fixed by #43346
Labels
bignums BigInt and BigFloat help wanted Indicates that a maintainer wants help on an issue or pull request

Comments

@mortenpi
Copy link
Contributor

mortenpi commented Apr 6, 2021

julia> 0.123_456
0.123456

julia> big"0.123_456"
ERROR: ArgumentError: invalid number format 0.123_456 for BigInt or BigFloat
Stacktrace:
 [1] top-level scope
   @ REPL[2]:1

It was mentioned in #24834 (comment), but I didn't find a dedicated issue. There used to be issue (#21092), but that was closed when the integer case was implemented.

@mortenpi mortenpi added the bignums BigInt and BigFloat label Apr 6, 2021
@JeffreySarnoff
Copy link
Contributor

yes absolutely (a thorn too long unpared)

@StefanKarpinski StefanKarpinski added the help wanted Indicates that a maintainer wants help on an issue or pull request label Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bignums BigInt and BigFloat help wanted Indicates that a maintainer wants help on an issue or pull request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants