Struct safe_arch::m256d [−][src]
#[repr(transparent)]pub struct m256d(pub __m256d);
Expand description
The data for a 256-bit AVX register of four f64 values.
- This is very similar to having
[f64; 4]. The main difference is that it’s aligned to 32 instead of just 4, and of course you can perform various intrinsic operations on it.
Implementations
Transmutes the m256d to an array.
Same as m.into(), just lets you be more explicit about what’s happening.
Transmutes an array into m256d.
Same as m256d::from(arr), it just lets you be more explicit about what’s
happening.
Converts into the bit patterns of these doubles ([u64;4]).
Like f64::to_bits, but both lanes at once.
Converts from the bit patterns of these doubles ([u64;4]).
Like f64::from_bits, but both lanes at once.
Trait Implementations
Performs the += operation. Read more
Binary formats each double’s bit pattern (via f64::to_bits).
let f = format!("{:b}", m256d::default()); assert_eq!(&f, "(0, 0)");
Performs the &= operation. Read more
Performs the |= operation. Read more
Performs the ^= operation. Read more
Performs the /= operation. Read more
LowerHex formats each double’s bit pattern (via f64::to_bits).
let f = format!("{:x}", m256d::default()); assert_eq!(&f, "(0, 0)");
Performs the *= operation. Read more
Octal formats each double’s bit pattern (via f64::to_bits).
let f = format!("{:o}", m256d::default()); assert_eq!(&f, "(0, 0)");
Performs the -= operation. Read more
Convert a reference to the inner type into a reference to the wrapper type. Read more
Convert a mutable reference to the inner type into a mutable reference to the wrapper type. Read more
Convert a slice to the inner type into a slice to the wrapper type.
Convert a mutable slice to the inner type into a mutable slice to the wrapper type. Read more
Convert a reference to the wrapper type into a reference to the inner type. Read more
Convert a mutable reference to the wrapper type into a mutable reference to the inner type. Read more
Convert a slice to the wrapped type into a slice to the inner type.
Convert a mutable slice to the wrapped type into a mutable slice to the inner type. Read more
UpperHex formats each double’s bit pattern (via f64::to_bits).
let f = format!("{:X}", m256d::default()); assert_eq!(&f, "(0, 0)");