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

Floating-point literal types problem #87

Open
amishne opened this issue Aug 22, 2013 · 1 comment
Open

Floating-point literal types problem #87

amishne opened this issue Aug 22, 2013 · 1 comment
Assignees
Milestone

Comments

@amishne
Copy link
Owner

amishne commented Aug 22, 2013

Unlike integers or null, where the literal is type-less, floating-point literals do have specific types. This needs to be used to enhance the type validation, which rights now treats them too leniently.

@ghost ghost assigned amishne Aug 22, 2013
@amishne
Copy link
Owner Author

amishne commented Aug 24, 2013

0.1e2-style notation is applicable for halfs, floats and doubles. All other types must appear in their appropriate hex format only. However, the situation right now is that every floating-point literal is legal for any floating-point type.

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