-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Could from_f32() etc. be const-fn? #9
Comments
Once |
Hi there, now that |
If I remember correctly, it's just waiting on rust-lang/rust#57241 to make f32/f64::from/to_bits const, but there's unresolved issues to be addressed there |
With the release of Rust 1.56, I'll be holding off on publishing a new version until the above linked issue is |
It looks like |
Could
from_f32()
etc. be const-fn? Would be useful for halving the size of float data in static arrays in demoscene intros.The text was updated successfully, but these errors were encountered: