Skip to content

Some forms of float literal don't parse #575

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

Closed
brson opened this issue Jun 25, 2011 · 0 comments
Closed

Some forms of float literal don't parse #575

brson opened this issue Jun 25, 2011 · 0 comments
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@brson
Copy link
Contributor

brson commented Jun 25, 2011

I expect the following things to parse as float literals but they don't:

12E+99_f32;
12E+99f64;
10f;

The last form (without the decimal) isn't mentioned in the Rust documentation, but since it's explicitly marked as a float i would expect it to work.

ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
* Forbid illegal phi recompute and use caching heuristic

* Fix recur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

2 participants