Skip to main content

## f64_ceil

# Function f64_ceil

Source

    pub fn f64_ceil(a: f64) -> f64

🔬This is a nightly-only experimental API. (`wasm_numeric_instr` #133908)
Available on `target_family=wasm` and WebAssembly only.
Expand description

Generates the `f64.ceil` instruction, returning the smallest integer greater than or equal to `a`.

This method is useful when targeting `no_std` and is equivalent to `std::f64::ceil()`.