You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Is there a reason for f32::ceil to be missing in core? Its intrinsic counterpart seems to work just fine:
#![no_std]#![feature(core_intrinsics)]use core::intrinsics::ceilf32;pubfnhello(){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:
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: