Skip to main content

f32x8

Struct f32x8 

Source
pub struct f32x8 { /* private fields */ }

Implementations§

Source§

impl f32x8

Source

pub const ONE: f32x8

Source

pub const HALF: f32x8

Source

pub const ZERO: f32x8

Source

pub const EPSILON: f32x8

Source

pub const MIN: f32x8

Source

pub const MIN_POSITIVE: f32x8

Source

pub const MAX: f32x8

Source

pub const NAN: f32x8

Source

pub const INFINITY: f32x8

Source

pub const NEG_INFINITY: f32x8

Source

pub const E: f32x8

Source

pub const FRAC_1_PI: f32x8

Source

pub const FRAC_2_PI: f32x8

Source

pub const FRAC_2_SQRT_PI: f32x8

Source

pub const FRAC_1_SQRT_2: f32x8

Source

pub const FRAC_PI_2: f32x8

Source

pub const FRAC_PI_3: f32x8

Source

pub const FRAC_PI_4: f32x8

Source

pub const FRAC_PI_6: f32x8

Source

pub const FRAC_PI_8: f32x8

Source

pub const LN_2: f32x8

Source

pub const LN_10: f32x8

Source

pub const LOG2_E: f32x8

Source

pub const LOG10_E: f32x8

Source

pub const LOG10_2: f32x8

Source

pub const LOG2_10: f32x8

Source

pub const PI: f32x8

Source

pub const SQRT_2: f32x8

Source

pub const TAU: f32x8

Source§

impl f32x8

Source

pub const fn new(array: [f32; 8]) -> Self

Source

pub fn simd_eq<Rhs>(self, other: Rhs) -> <Self as CmpEq<Rhs>>::Output
where Self: CmpEq<Rhs>,

Test if each element is equal to the corresponding element in other.

Source

pub fn simd_ne<Rhs>(self, other: Rhs) -> <Self as CmpNe<Rhs>>::Output
where Self: CmpNe<Rhs>,

Test if each element is not equal to the corresponding element in other.

Source

pub fn simd_lt<Rhs>(self, other: Rhs) -> <Self as CmpLt<Rhs>>::Output
where Self: CmpLt<Rhs>,

Test if each element is less than the corresponding element in other.

Source

pub fn simd_gt<Rhs>(self, other: Rhs) -> <Self as CmpGt<Rhs>>::Output
where Self: CmpGt<Rhs>,

Test if each element is greater than the corresponding element in other.

Source

pub fn simd_le<Rhs>(self, other: Rhs) -> <Self as CmpLe<Rhs>>::Output
where Self: CmpLe<Rhs>,

Test if each element is less than or equal to the corresponding element in other.

Source

pub fn simd_ge<Rhs>(self, other: Rhs) -> <Self as CmpGe<Rhs>>::Output
where Self: CmpGe<Rhs>,

Test if each element is greater than or equal to the corresponding element in other.

Source

pub fn blend(self, t: Self, f: Self) -> Self

Source

pub fn abs(self) -> Self

Source

pub fn signum(self) -> Self

Source

pub fn floor(self) -> Self

Source

pub fn ceil(self) -> Self

Source

pub fn fast_max(self, rhs: Self) -> Self

Calculates the lanewise maximum of both vectors. This is a faster implementation than max, but it doesn’t specify any behavior if NaNs are involved.

Source

pub fn max(self, rhs: Self) -> Self

Calculates the lanewise maximum of both vectors. This doesn’t match IEEE-754 and instead is defined as self < rhs ? rhs : self.

Source

pub fn fast_min(self, rhs: Self) -> Self

Calculates the lanewise minimum of both vectors. This is a faster implementation than min, but it doesn’t specify any behavior if NaNs are involved.

Source

pub fn min(self, rhs: Self) -> Self

Calculates the lanewise minimum of both vectors. If either lane is NaN, the other lane gets chosen. Use fast_min for a faster implementation that doesn’t handle NaNs.

Source

pub fn clamp(self, min: Self, max: Self) -> Self

Restrict a value to a certain interval unless it is NaN.

If self is NaN, or min is NaN, or max is NaN, the result is NaN. If min > max, the result is min, since fast_max(min) dominates.

Source

pub fn fast_clamp(self, min: Self, max: Self) -> Self

Restrict a value to a certain interval unless it is NaN.

Avoids NaN detection; same speed as the old clamp prior to IEEE 754-2019 compliance. Does not specify any behavior if NaNs are involved, and if min > max the result is unspecified.

Source

pub fn midpoint(self, other: Self) -> Self

Source

pub fn is_nan(self) -> Self

Source

pub fn is_finite(self) -> Self

Source

pub fn is_inf(self) -> Self

Source

pub fn round(self) -> Self

Source

pub fn fast_round_int(self) -> i32x8

Rounds each lane into an integer. This is a faster implementation than round_int, but it doesn’t handle out of range values or NaNs. For those values you get implementation defined behavior.

Source

pub fn round_int(self) -> i32x8

Rounds each lane into an integer. This saturates out of range values and turns NaNs into 0. Use fast_round_int for a faster implementation that doesn’t handle out of range values or NaNs.

Source

pub fn trunc(self) -> Self

Source

pub fn fast_trunc_int(self) -> i32x8

Truncates each lane into an integer. This is a faster implementation than trunc_int, but it doesn’t handle out of range values or NaNs. For those values you get implementation defined behavior.

Source

pub fn trunc_int(self) -> i32x8

Truncates each lane into an integer. This saturates out of range values and turns NaNs into 0. Use fast_trunc_int for a faster implementation that doesn’t handle out of range values or NaNs.

Source

pub fn fract(self) -> Self

Source

pub fn mul_add(self, m: Self, a: Self) -> Self

Performs a multiply-add operation: self * m + a

When hardware FMA support is available, this computes the result with a single rounding operation. Without FMA support, it falls back to separate multiply and add operations with two roundings.

§Platform-specific behavior
  • On x86/x86_64 with AVX+FMA: Uses vfmadd (single rounding, best accuracy)
  • On x86/x86_64 with AVX only: Uses (self * m) + a (two roundings)
  • Other platforms: Delegates to f32x4 (may use NEON FMA or fallback)
§Examples
let a = f32x8::from([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0]);
let b = f32x8::from([2.0; 8]);
let c = f32x8::from([10.0; 8]);

let result = a.mul_add(b, c);

let expected = f32x8::from([12.0, 14.0, 16.0, 18.0, 20.0, 22.0, 24.0, 26.0]);
assert_eq!(result, expected);
Source

pub fn mul_sub(self, m: Self, s: Self) -> Self

Performs a multiply-subtract operation: self * m - s

When hardware FMA support is available, this computes the result with a single rounding operation. Without FMA support, it falls back to separate multiply and subtract operations with two roundings.

§Platform-specific behavior
  • On x86/x86_64 with AVX+FMA: Uses vfmsub (single rounding, best accuracy)
  • On x86/x86_64 with AVX only: Uses (self * m) - s (two roundings)
  • Other platforms: Delegates to f32x4 (may use NEON FMA or fallback)
§Examples
let a = f32x8::from([10.0; 8]);
let b = f32x8::from([2.0; 8]);
let c = f32x8::from([5.0; 8]);

let result = a.mul_sub(b, c);

let expected = f32x8::from([15.0; 8]);
assert_eq!(result, expected);
Source

pub fn mul_neg_add(self, m: Self, a: Self) -> Self

Performs a negative multiply-add operation: a - (self * m)

When hardware FMA support is available, this computes the result with a single rounding operation. Without FMA support, it falls back to separate operations with two roundings.

§Platform-specific behavior
  • On x86/x86_64 with AVX+FMA: Uses vfnmadd (single rounding, best accuracy)
  • On x86/x86_64 with AVX only: Uses a - (self * m) (two roundings)
  • Other platforms: Delegates to f32x4 (may use NEON FMA or fallback)
§Examples
let a = f32x8::from([3.0; 8]);
let b = f32x8::from([2.0; 8]);
let c = f32x8::from([10.0; 8]);

let result = a.mul_neg_add(b, c);

let expected = f32x8::from([4.0; 8]);
assert_eq!(result, expected);
Source

pub fn mul_neg_sub(self, m: Self, s: Self) -> Self

Performs a negative multiply-subtract operation: -(self * m) - s

When hardware FMA support is available, this computes the result with a single rounding operation. Without FMA support, it falls back to separate operations with two roundings.

§Platform-specific behavior
  • On x86/x86_64 with AVX+FMA: Uses vfnmsub (single rounding, best accuracy)
  • On x86/x86_64 with AVX only: Uses -(self * m) - s (two roundings)
  • Other platforms: Delegates to f32x4 (may use NEON FMA or fallback)
§Examples
let a = f32x8::from([3.0; 8]);
let b = f32x8::from([2.0; 8]);
let c = f32x8::from([1.0; 8]);

let result = a.mul_neg_sub(b, c);

let expected = f32x8::from([-7.0; 8]);
assert_eq!(result, expected);
Source

pub fn div_euclid(self, rhs: Self) -> Self

Source

pub fn rem_euclid(self, rhs: Self) -> Self

Source

pub fn flip_signs(self, signs: Self) -> Self

Source

pub fn copysign(self, sign: Self) -> Self

Source

pub fn asin_acos(self) -> (Self, Self)

Source

pub fn asin(self) -> Self

Source

pub fn acos(self) -> Self

Source

pub fn atan(self) -> Self

Source

pub fn atan2(self, x: Self) -> Self

Source

pub fn sin_cos(self) -> (Self, Self)

Source

pub fn sin(self) -> Self

Source

pub fn cos(self) -> Self

Source

pub fn tan(self) -> Self

Source

pub fn sinh(self) -> Self

Calculates hyperbolic sine: (e^self - e^(-self))/2.

Source

pub fn cosh(self) -> Self

Calculates hyperbolic cosine: (e^self + e^(-self))/2.

Source

pub fn tanh(self) -> Self

Calculates hyperbolic tangent: sinh(self)/cosh(self).

Source

pub fn cbrt(self) -> Self

Calculates the cube root: self^(1/3).

Source

pub fn to_degrees(self) -> Self

Source

pub fn to_radians(self) -> Self

Source

pub fn recip(self) -> Self

Source

pub fn recip_sqrt(self) -> Self

Source

pub fn sqrt(self) -> Self

Source

pub fn to_bitmask(self) -> u32

Source

pub fn any(self) -> bool

Source

pub fn all(self) -> bool

Source

pub fn none(self) -> bool

Source

pub fn exp(self) -> Self

Calculate the exponent of a packed f32x8

Source

pub fn exp_m1(self) -> Self

Calculate e^self - 1 for each lane. Accurate even for very small values.

Source

pub fn exp2(self) -> Self

Returns 2^self.

Source

pub fn is_sign_positive(self) -> Self

Returns true for each element if it has a positive sign, including +0.0, NaNs with positive sign bit and positive infinity.

Source

pub fn is_sign_negative(self) -> Self

Returns true for each element if it has a negative sign, including -0.0, NaNs with negative sign bit and negative infinity.

Source

pub fn reduce_add(self) -> f32

horizontal add of all the elements of the vector

Source

pub fn reduce_mul(self) -> f32

horizontal multiplication of all the elements of the vector

Source

pub fn ln(self) -> Self

Natural log (ln(x))

Source

pub fn ln_1p(self) -> Self

Calculate ln(1 + self) for each lane. Accurate even for very small values.

Source

pub fn log2(self) -> Self

Source

pub fn log10(self) -> Self

Source

pub fn pow_f32x8(self, y: Self) -> Self

Source

pub fn powf(self, y: f32) -> Self

Source

pub fn transpose(data: [f32x8; 8]) -> [f32x8; 8]

Transpose matrix of 8x8 f32 matrix. Currently only accelerated on AVX.

Source

pub fn to_array(self) -> [f32; 8]

Source

pub fn as_array(&self) -> &[f32; 8]

Source

pub fn as_mut_array(&mut self) -> &mut [f32; 8]

Source

pub fn from_i32x8(v: i32x8) -> Self

Source

pub fn sign_bit(self) -> Self

👎Deprecated since 1.4.0:

renamed to is_sign_negative

Returns true for each element if its sign bit is set.

If the sign bit is set, the result has all bits set, not just the sign bit. This has been renamed to is_sign_negative.

Source§

impl f32x8

Source

pub const fn splat(elem: f32) -> f32x8

Trait Implementations§

Source§

impl Add for f32x8

Source§

type Output = f32x8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&f32x8> for f32x8

Source§

type Output = f32x8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<f32> for f32x8

Source§

type Output = f32x8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<f32x8> for f32

Source§

type Output = f32x8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl AddAssign for f32x8

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl AddAssign<&f32x8> for f32x8

Source§

fn add_assign(&mut self, rhs: &Self)

Performs the += operation. Read more
Source§

impl AlignTo for f32x8

Source§

type Elem = f32

Source§

fn simd_align_to( slice: &[Self::Elem], ) -> (&[Self::Elem], &[Self], &[Self::Elem])

Source§

fn simd_align_to_mut( slice: &mut [Self::Elem], ) -> (&mut [Self::Elem], &mut [Self], &mut [Self::Elem])

Source§

impl Binary for f32x8

Source§

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

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

impl BitAnd for f32x8

Source§

type Output = f32x8

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<&f32x8> for f32x8

Source§

type Output = f32x8

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &Self) -> Self::Output

Performs the & operation. Read more
Source§

impl BitAndAssign for f32x8

Source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
Source§

impl BitAndAssign<&f32x8> for f32x8

Source§

fn bitand_assign(&mut self, rhs: &Self)

Performs the &= operation. Read more
Source§

impl BitOr for f32x8

Source§

type Output = f32x8

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<&f32x8> for f32x8

Source§

type Output = f32x8

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &Self) -> Self::Output

Performs the | operation. Read more
Source§

impl BitOrAssign for f32x8

Source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
Source§

impl BitOrAssign<&f32x8> for f32x8

Source§

fn bitor_assign(&mut self, rhs: &Self)

Performs the |= operation. Read more
Source§

impl BitXor for f32x8

Source§

type Output = f32x8

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor<&f32x8> for f32x8

Source§

type Output = f32x8

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &Self) -> Self::Output

Performs the ^ operation. Read more
Source§

impl BitXorAssign for f32x8

Source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<&f32x8> for f32x8

Source§

fn bitxor_assign(&mut self, rhs: &Self)

Performs the ^= operation. Read more
Source§

impl Clone for f32x8

Source§

fn clone(&self) -> f32x8

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl CmpEq for f32x8

Source§

type Output = f32x8

👎Deprecated since 1.5.0:

use inherit function instead

Source§

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

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpEq<f32> for f32x8

Source§

type Output = f32x8

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_eq(self, rhs: f32) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpGe for f32x8

Source§

type Output = f32x8

👎Deprecated since 1.5.0:

use inherit function instead

Source§

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

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpGe<f32> for f32x8

Source§

type Output = f32x8

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_ge(self, rhs: f32) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpGt for f32x8

Source§

type Output = f32x8

👎Deprecated since 1.5.0:

use inherit function instead

Source§

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

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpGt<f32> for f32x8

Source§

type Output = f32x8

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_gt(self, rhs: f32) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpLe for f32x8

Source§

type Output = f32x8

👎Deprecated since 1.5.0:

use inherit function instead

Source§

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

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpLe<f32> for f32x8

Source§

type Output = f32x8

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_le(self, rhs: f32) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpLt for f32x8

Source§

type Output = f32x8

👎Deprecated since 1.5.0:

use inherit function instead

Source§

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

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpLt<f32> for f32x8

Source§

type Output = f32x8

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_lt(self, rhs: f32) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpNe for f32x8

Source§

type Output = f32x8

👎Deprecated since 1.5.0:

use inherit function instead

Source§

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

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpNe<f32> for f32x8

Source§

type Output = f32x8

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_ne(self, rhs: f32) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl Copy for f32x8

Source§

impl Debug for f32x8

Source§

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

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

impl Default for f32x8

Source§

fn default() -> f32x8

Returns the “default value” for a type. Read more
Source§

impl Display for f32x8

Source§

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

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

impl Div for f32x8

Source§

type Output = f32x8

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<&f32x8> for f32x8

Source§

type Output = f32x8

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<f32> for f32x8

Source§

type Output = f32x8

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<f32x8> for f32

Source§

type Output = f32x8

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl DivAssign for f32x8

Source§

fn div_assign(&mut self, rhs: Self)

Performs the /= operation. Read more
Source§

impl DivAssign<&f32x8> for f32x8

Source§

fn div_assign(&mut self, rhs: &Self)

Performs the /= operation. Read more
Source§

impl From<&[f32]> for f32x8

Source§

fn from(src: &[f32]) -> f32x8

Converts to this type from the input type.
Source§

impl From<[f32; 8]> for f32x8

Source§

fn from(arr: [f32; 8]) -> Self

Converts to this type from the input type.
Source§

impl From<f32> for f32x8

Source§

fn from(elem: f32) -> Self

Splats the single value given across all lanes.

Source§

impl From<f32x8> for [f32; 8]

Source§

fn from(simd: f32x8) -> Self

Converts to this type from the input type.
Source§

impl LowerExp for f32x8

Source§

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

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

impl LowerHex for f32x8

Source§

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

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

impl Mul for f32x8

Source§

type Output = f32x8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<&f32x8> for f32x8

Source§

type Output = f32x8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<f32> for f32x8

Source§

type Output = f32x8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<f32x8> for f32

Source§

type Output = f32x8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl MulAssign for f32x8

Source§

fn mul_assign(&mut self, rhs: Self)

Performs the *= operation. Read more
Source§

impl MulAssign<&f32x8> for f32x8

Source§

fn mul_assign(&mut self, rhs: &Self)

Performs the *= operation. Read more
Source§

impl Neg for f32x8

Source§

type Output = f32x8

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Not for &f32x8

Source§

type Output = f32x8

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl Not for f32x8

Source§

type Output = f32x8

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self

Performs the unary ! operation. Read more
Source§

impl Octal for f32x8

Source§

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

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

impl PartialEq for f32x8

Source§

fn eq(&self, other: &f32x8) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Pod for f32x8

Source§

impl<RHS> Product<RHS> for f32x8
where f32x8: MulAssign<RHS>,

Source§

fn product<I: Iterator<Item = RHS>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by multiplying the items.
Source§

impl Rem for f32x8

Source§

type Output = f32x8

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<f32> for f32x8

Source§

type Output = f32x8

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: f32) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<f32x8> for f32

Source§

type Output = f32x8

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: f32x8) -> Self::Output

Performs the % operation. Read more
Source§

impl StructuralPartialEq for f32x8

Source§

impl Sub for f32x8

Source§

type Output = f32x8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&f32x8> for f32x8

Source§

type Output = f32x8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<f32> for f32x8

Source§

type Output = f32x8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<f32x8> for f32

Source§

type Output = f32x8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl SubAssign for f32x8

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl SubAssign<&f32x8> for f32x8

Source§

fn sub_assign(&mut self, rhs: &Self)

Performs the -= operation. Read more
Source§

impl<RHS> Sum<RHS> for f32x8
where f32x8: AddAssign<RHS>,

Source§

fn sum<I: Iterator<Item = RHS>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl UpperExp for f32x8

Source§

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

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

impl UpperHex for f32x8

Source§

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

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

impl Zeroable for f32x8

Source§

fn zeroed() -> Self

Auto Trait Implementations§

§

impl Freeze for f32x8

§

impl RefUnwindSafe for f32x8

§

impl Send for f32x8

§

impl Sync for f32x8

§

impl Unpin for f32x8

§

impl UnsafeUnpin for f32x8

§

impl UnwindSafe for f32x8

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> AnyBitPattern for T
where T: Pod,

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> CheckedBitPattern for T
where T: AnyBitPattern,

Source§

type Bits = T

Self must have the same layout as the specified Bits except for the possible invalid bit patterns being checked during is_valid_bit_pattern.
Source§

fn is_valid_bit_pattern(_bits: &T) -> bool

If this function returns true, then it must be valid to reinterpret bits as &Self.
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<T> NoUninit for T
where T: Pod,

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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. 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.