-
Notifications
You must be signed in to change notification settings - Fork 4
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
Strange behavior with float arrays in CTE #29
Comments
There's a bug in the value printer somewhere. I had to put special code in for float16 values since it's not a native format, so something broke along the way I bet. |
Hmm, you're right that most of these issues are f16-specific. Even with f32/f64, though:
Perhaps that's a separate bug. |
Just to confirm, are |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In float arrays, enctool sometimes tries to write numbers in base-16, but doesn't quite use valid syntax:
The enctool parser correctly reports this as an error:
My first thought was that "1" is an int, not a float, and "f16" might be expecting only a float (despite there being only one 'numeric type'?). But it fails the same way for some floats, too:
It's not just forgetting the ".0" when writing base-16 values inside an array, though. There's something weirder going on. Here, it prints an invalid number, and also flips the sign:
The text was updated successfully, but these errors were encountered: