Struct f64x8

Source
#[repr(C, align(64))]
pub struct f64x8<S: Simd> { pub val: [f64; 8], pub simd: S, }

Fields§

§val: [f64; 8]§simd: S

Implementations§

Source§

impl<S: Simd> f64x8<S>

Source

pub fn abs(self) -> f64x8<S>

Source

pub fn neg(self) -> f64x8<S>

Source

pub fn sqrt(self) -> f64x8<S>

Source

pub fn add(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source

pub fn sub(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source

pub fn mul(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source

pub fn div(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source

pub fn copysign(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source

pub fn simd_eq(self, rhs: impl SimdInto<Self, S>) -> mask64x8<S>

Source

pub fn simd_lt(self, rhs: impl SimdInto<Self, S>) -> mask64x8<S>

Source

pub fn simd_le(self, rhs: impl SimdInto<Self, S>) -> mask64x8<S>

Source

pub fn simd_ge(self, rhs: impl SimdInto<Self, S>) -> mask64x8<S>

Source

pub fn simd_gt(self, rhs: impl SimdInto<Self, S>) -> mask64x8<S>

Source

pub fn max(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source

pub fn max_precise(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source

pub fn min(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source

pub fn min_precise(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source

pub fn floor(self) -> f64x8<S>

Source

pub fn fract(self) -> f64x8<S>

Source

pub fn trunc(self) -> f64x8<S>

Source

pub fn reinterpret_f32(self) -> f32x16<S>

Trait Implementations§

Source§

impl<S: Simd> Add<f64> for f64x8<S>

Source§

type Output = f64x8<S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f64) -> Self::Output

Performs the + operation. Read more
Source§

impl<S: Simd> Add<f64x8<S>> for f64

Source§

type Output = f64x8<S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f64x8<S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<S: Simd> Add for f64x8<S>

Source§

type Output = f64x8<S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<S: Simd> Bytes for f64x8<S>

Source§

type Bytes = u8x64<S>

Source§

fn to_bytes(self) -> Self::Bytes

Source§

fn from_bytes(value: Self::Bytes) -> Self

Source§

fn bitcast<U: Bytes<Bytes = Self::Bytes>>(self) -> U

Source§

impl<S: Clone + Simd> Clone for f64x8<S>

Source§

fn clone(&self) -> f64x8<S>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<S: Debug + Simd> Debug for f64x8<S>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<S: Simd> Deref for f64x8<S>

Source§

type Target = [f64; 8]

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl<S: Simd> DerefMut for f64x8<S>

Source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
Source§

impl<S: Simd> Div<f64> for f64x8<S>

Source§

type Output = f64x8<S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f64) -> Self::Output

Performs the / operation. Read more
Source§

impl<S: Simd> Div<f64x8<S>> for f64

Source§

type Output = f64x8<S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f64x8<S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<S: Simd> Div for f64x8<S>

Source§

type Output = f64x8<S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl<S: Simd> From<f64x8<S>> for [f64; 8]

Source§

fn from(value: f64x8<S>) -> Self

Converts to this type from the input type.
Source§

impl<S: Simd> Mul<f64> for f64x8<S>

Source§

type Output = f64x8<S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f64) -> Self::Output

Performs the * operation. Read more
Source§

impl<S: Simd> Mul<f64x8<S>> for f64

Source§

type Output = f64x8<S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f64x8<S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<S: Simd> Mul for f64x8<S>

Source§

type Output = f64x8<S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl<S: Simd> Neg for f64x8<S>

Source§

type Output = f64x8<S>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl<S: Simd> Select<f64x8<S>> for mask64x8<S>

Source§

fn select(self, if_true: f64x8<S>, if_false: f64x8<S>) -> f64x8<S>

Source§

impl<S: Simd> SimdBase<f64, S> for f64x8<S>

Source§

const N: usize = 8usize

Source§

type Mask = mask64x8<S>

A SIMD vector mask with the same number of elements. Read more
Source§

type Block = f64x2<S>

A 128 bit SIMD vector of the same scalar type.
Source§

fn as_slice(&self) -> &[f64]

Source§

fn as_mut_slice(&mut self) -> &mut [f64]

Source§

fn from_slice(simd: S, slice: &[f64]) -> Self

Create a SIMD vector from a slice. Read more
Source§

fn splat(simd: S, val: f64) -> Self

Source§

fn block_splat(block: Self::Block) -> Self

Source§

impl<S: Simd> SimdFloat<f64, S> for f64x8<S>

Source§

fn abs(self) -> f64x8<S>

Source§

fn sqrt(self) -> f64x8<S>

Source§

fn copysign(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source§

fn simd_eq(self, rhs: impl SimdInto<Self, S>) -> mask64x8<S>

Source§

fn simd_lt(self, rhs: impl SimdInto<Self, S>) -> mask64x8<S>

Source§

fn simd_le(self, rhs: impl SimdInto<Self, S>) -> mask64x8<S>

Source§

fn simd_ge(self, rhs: impl SimdInto<Self, S>) -> mask64x8<S>

Source§

fn simd_gt(self, rhs: impl SimdInto<Self, S>) -> mask64x8<S>

Source§

fn zip_low(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source§

fn zip_high(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source§

fn unzip_low(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source§

fn unzip_high(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source§

fn max(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source§

fn max_precise(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source§

fn min(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source§

fn min_precise(self, rhs: impl SimdInto<Self, S>) -> f64x8<S>

Source§

fn madd( self, op1: impl SimdInto<Self, S>, op2: impl SimdInto<Self, S>, ) -> f64x8<S>

Source§

fn msub( self, op1: impl SimdInto<Self, S>, op2: impl SimdInto<Self, S>, ) -> f64x8<S>

Source§

fn floor(self) -> f64x8<S>

Source§

fn fract(self) -> f64x8<S>

Source§

fn trunc(self) -> f64x8<S>

Source§

fn to_int<T: SimdCvtTruncate<Self>>(self) -> T

Source§

impl<S: Simd> SimdFrom<[f64; 8], S> for f64x8<S>

Source§

fn simd_from(val: [f64; 8], simd: S) -> Self

Source§

impl<S: Simd> SimdFrom<f64, S> for f64x8<S>

Source§

fn simd_from(value: f64, simd: S) -> Self

Source§

impl<S: Simd> Sub<f64> for f64x8<S>

Source§

type Output = f64x8<S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f64) -> Self::Output

Performs the - operation. Read more
Source§

impl<S: Simd> Sub<f64x8<S>> for f64

Source§

type Output = f64x8<S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f64x8<S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<S: Simd> Sub for f64x8<S>

Source§

type Output = f64x8<S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<S: Copy + Simd> Copy for f64x8<S>

Auto Trait Implementations§

§

impl<S> Freeze for f64x8<S>
where S: Freeze,

§

impl<S> RefUnwindSafe for f64x8<S>
where S: RefUnwindSafe,

§

impl<S> Send for f64x8<S>

§

impl<S> Sync for f64x8<S>

§

impl<S> Unpin for f64x8<S>
where S: Unpin,

§

impl<S> UnwindSafe for f64x8<S>
where S: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, S> SimdFrom<T, S> for T
where S: Simd,

Source§

fn simd_from(value: T, _simd: S) -> T

Source§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

Source§

fn simd_into(self, simd: S) -> T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.