-
Notifications
You must be signed in to change notification settings - Fork 2
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
Odd behaviour with floats & printf #16
Comments
floats should work like they do in C, but some stuff is broken right now :( |
Well, that a bummer. I will have to postpone my binding work until this gets fixed in that case. |
you can try the same with |
Unfortunately same issue. If anything libc ver spews only 0's. |
does it still occur when transpiling to C? (with the |
No, it seems like transpiling to C works. |
Then it's a bug in the assembly generator I'll have to fix. |
I've encountered an odd behaviour with floats and printf where the output returned is not the value you've provided:
We have the following code:
The output is:
Does CSpydr not use the same formatting rule as C? Is there something done wrong in this example or there is a deeper underlying problem causing this? As you can see, the integer is printed out fine.
The text was updated successfully, but these errors were encountered: