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

next does not work correctly with decimal vectors #2518

Closed
Oldes opened this issue Sep 5, 2022 · 0 comments
Closed

next does not work correctly with decimal vectors #2518

Oldes opened this issue Sep 5, 2022 · 0 comments
Labels

Comments

@Oldes
Copy link
Owner

Oldes commented Sep 5, 2022

This is ok:

>> to binary! #[i32! [1 2]]
== #{0100000002000000}

>> to binary! next #[i32! [1 2]]
== #{00000002}

while when used with float values:

 >> to binary! #[f32! [1 2]]
== #{0000803F00000040}

>> to binary! next #[f32! [1 2]]
== #{00803F00} ;<---- BUG! Only one byte skipped!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant