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

parsing issue for hexadecimal #60

Open
rschumi0 opened this issue Mar 1, 2020 · 0 comments
Open

parsing issue for hexadecimal #60

rschumi0 opened this issue Mar 1, 2020 · 0 comments

Comments

@rschumi0
Copy link

rschumi0 commented Mar 1, 2020

I discovered a parsing issue for the hexadecimal representation of floats or doubles. When a literal is starting with 0x1.a ... 0x1.f then there is an error, but they get correctly parsed when they start with 0x1.0 ... 0x1.9.

float a = 0x1.c4c52cp-1f; // produces an error, 0x1.1c52cp-1f works

(And Is there a reason why hex and octal literals are supported, but not binary ones?)

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