Trait faster::intrin::PackedSqrt
[−]
[src]
pub trait PackedSqrt { fn sqrt(&self) -> Self; }
Required Methods
fn sqrt(&self) -> Self
Return a vector the containing square roots of the elements of self
.
Examples
extern crate faster; use faster::*; assert_eq!(f32s(4.0).sqrt(), f32s(2.0)); assert_eq!(f64s(9.0).sqrt(), f64s(3.0));