1/// Ceil (f32)
2///
3/// Finds the nearest integer greater than or equal to `x`.
4#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
5pub fn ceilf(x: f32) -> f32 {
6 select_implementation! {
7 name: ceilf,
8 use_arch: all(target_arch = "wasm32", intrinsics_enabled),
9 args: x,
10 }
11
12 super::generic::ceil(x)
13}
14