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
f32::ceil
#![no_std]
Hi! Is there a reason for f32::ceil to be missing in core? Its intrinsic counterpart seems to work just fine:
core
#![no_std] #![feature(core_intrinsics)] use core::intrinsics::ceilf32; pub fn hello() { let abc = 2.5f32; // Doesn't work. // let val = abc.ceil(); // Works. let val = unsafe { ceilf32(abc) }; assert_eq!(val, 3f32); }
The text was updated successfully, but these errors were encountered:
Closing, found #27823
Sorry, something went wrong.
No branches or pull requests
Hi! Is there a reason for
f32::ceil
to be missing incore
? Its intrinsic counterpart seems to work just fine:The text was updated successfully, but these errors were encountered: