We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, our codebase uses constants to store pre-calculated values such as 2 * pi.
2 * pi
We would like to replace these constants with const fn functions to enable dynamic calculation of values at compile time.
blocked by rust-lang/rust#57241 Unfortunately, the current limitations in Rust do not fully support the use of const fn for f64.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, our codebase uses constants to store pre-calculated values such as
2 * pi
.We would like to replace these constants with const fn functions to enable dynamic calculation of values at compile time.
blocked by rust-lang/rust#57241
Unfortunately, the current limitations in Rust do not fully support the use of const fn for f64.
The text was updated successfully, but these errors were encountered: