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

Provide const conversion to u8, u16 and u32. #109

Open
abergmeier opened this issue Apr 13, 2024 · 0 comments
Open

Provide const conversion to u8, u16 and u32. #109

abergmeier opened this issue Apr 13, 2024 · 0 comments

Comments

@abergmeier
Copy link

Currently it seems like conversion to u* is done via f32. Since floating point arithmetic is not supported in const functions, thus we currently cannot convert f16 to e.g. u8 in these.
Would be great if there would be const functions to convert to u* directly.

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