core::arch::wasm32

Function f64_sqrt

Source
pub fn f64_sqrt(a: f64) -> f64
🔬This is a nightly-only experimental API. (wasm_numeric_instr #133908)
Available on WebAssembly and target_family="wasm" only.
Expand description

Generates the f64.sqrt instruction, returning the square root of the number a.

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