Skip to main content

ceil

Function ceil 

Source
pub const fn ceil<T: Dispatch>(x: T) -> T
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Returns the smallest integer greater than or equal to a floating-point value.

The stabilized versions of this intrinsic are available on the float primitives via the ceil method. For example, f32::ceil.