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

Fix bug with float literal constant #29

Open
averycowan opened this issue Jun 19, 2019 · 2 comments
Open

Fix bug with float literal constant #29

averycowan opened this issue Jun 19, 2019 · 2 comments

Comments

@averycowan
Copy link
Contributor

There are no float literals. If you attempt to simulate one using a cast and division of integers, the optimizer precomputes the desired float value and tries to represent it. This fails and crashes compilation.

@leijurv
Copy link
Owner

leijurv commented Jun 20, 2019

If you attempt to simulate one using a cast and division of integers, the optimizer precomputes the desired float value and tries to represent it. This fails and crashes compilation.

uh then how does this work?
https://github.com/leijurv/Kitteh2/blob/master/test/tests/mandelbrot.k#L4

@niuggg
Copy link

niuggg commented Dec 29, 2022

goodproject

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

3 participants