Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Optimize ftoi with power-of-2 scale #22

Open
mbitsnbites opened this issue Mar 2, 2020 · 0 comments
Open

Optimize ftoi with power-of-2 scale #22

mbitsnbites opened this issue Mar 2, 2020 · 0 comments

Comments

@mbitsnbites
Copy link
Member

E.g. int x = (int)(a * 256.0f); can be handled in 1-2 instructions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant