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
powf
When trying to port palette to support #[no_std], its extensive tests found some scenarios where mish functions returned NaN.
#[no_std]
mish
powf returns NaN fairly consistently, no matter the exponent, for bases smaller than 0.08518821616297091.
Ex:
extern crate mish; for &power in [0.00001, 0.3, 0.9999, 1.0, 2.0, 10000.0].iter() { assert!(mish::pow::<f64>(0.085, power).is_nan()); }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
When trying to port palette to support
#[no_std]
, its extensive tests found some scenarios wheremish
functions returned NaN.powf
returns NaN fairly consistently, no matter the exponent, for bases smaller than 0.08518821616297091.Ex:
The text was updated successfully, but these errors were encountered: