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

fp_floor_byte #15

Open
Johnlon opened this issue Jul 22, 2022 · 0 comments
Open

fp_floor_byte #15

Johnlon opened this issue Jul 22, 2022 · 0 comments

Comments

@Johnlon
Copy link

Johnlon commented Jul 22, 2022

Been hoping to port this code to my own CPU and so reading the repo.
But I've gotten stuck on this shared function.
Can't for the life of me see how it works.

Is it used or is it junk and buggy?
Seems for positive numbers it return zero, and for negative numbers other weird results, non zero fraction value gets returned and so on.

Any clues?

fp_floor looks sane tho.

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