Function sqrt
#[must_use = "method returns a new number and does not mutate the original value"]
pub fn sqrt(x: f64) -> f64
Experimental version of sqrt in core. See f64::sqrt for details.
Examples
use f64;
let positive = 4.0_f64;
let negative = -4.0_f64;
let negative_zero = -0.0_f64;
assert_eq!;
assert!;
assert_eq!;
This standalone function is for testing only. It will be stabilized as an inherent method.