Skip to main content

fx128

Type Alias fx128 

Source
pub type fx128 = Quad;

Aliased Type§

#[repr(C)]
pub struct fx128(pub f64, pub f64);

Tuple Fields§

§0: f64§1: f64

Trait Implementations§

Source§

impl ComplexField for fx128

Source§

const IS_REAL: bool = true

Source§

const SIMD_CAPABILITIES: SimdCapabilities = SimdCapabilities::Simd

Source§

type Arch = Arch

Source§

type Index = u64

Source§

type Real = Quad

Source§

type SimdCtx<S: Simd> = S

Source§

type SimdIndex<S: Simd> = <S as Simd>::u64s

Source§

type SimdMask<S: Simd> = <S as Simd>::m64s

Source§

type SimdMemMask<S: Simd> = Quad<MemMask<<S as Simd>::m64s>>

Source§

type SimdVec<S: Simd> = Quad<<S as Simd>::f64s>

Source§

type Unit = f64

Source§

fn zero_impl() -> Self

Source§

fn one_impl() -> Self

Source§

fn nan_impl() -> Self

Source§

fn infinity_impl() -> Self

Source§

fn from_real_impl(real: &Self::Real) -> Self

Source§

fn from_f64_impl(real: f64) -> Self

Source§

fn real_part_impl(value: &Self) -> Self::Real

Source§

fn imag_part_impl(_: &Self) -> Self::Real

Source§

fn copy_impl(value: &Self) -> Self

Source§

fn conj_impl(value: &Self) -> Self

Source§

fn recip_impl(value: &Self) -> Self

Source§

fn sqrt_impl(value: &Self) -> Self

Source§

fn abs_impl(value: &Self) -> Self::Real

Source§

fn abs1_impl(value: &Self) -> Self::Real

Source§

fn abs2_impl(value: &Self) -> Self::Real

Source§

fn mul_real_impl(lhs: &Self, rhs: &Self::Real) -> Self

Source§

fn mul_pow2_impl(lhs: &Self, rhs: &Self::Real) -> Self

Source§

fn is_finite_impl(value: &Self) -> bool

Source§

fn simd_ctx<S: Simd>(simd: S) -> Self::SimdCtx<S>

Source§

fn ctx_from_simd<S: Simd>(ctx: &Self::SimdCtx<S>) -> S

Source§

fn simd_mask_between<S: Simd>( ctx: &Self::SimdCtx<S>, start: Self::Index, end: Self::Index, ) -> Self::SimdMask<S>

Source§

fn simd_mem_mask_between<S: Simd>( ctx: &Self::SimdCtx<S>, start: Self::Index, end: Self::Index, ) -> Self::SimdMemMask<S>

Source§

unsafe fn simd_mask_load_raw<S: Simd>( ctx: &Self::SimdCtx<S>, mask: Self::SimdMemMask<S>, ptr: *const Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

unsafe fn simd_mask_store_raw<S: Simd>( ctx: &Self::SimdCtx<S>, mask: Self::SimdMemMask<S>, ptr: *mut Self::SimdVec<S>, values: Self::SimdVec<S>, )

Source§

fn simd_splat<S: Simd>(ctx: &Self::SimdCtx<S>, value: &Self) -> Self::SimdVec<S>

Source§

fn simd_splat_real<S: Simd>( ctx: &Self::SimdCtx<S>, value: &Self::Real, ) -> Self::SimdVec<S>

Source§

fn simd_add<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdVec<S>, rhs: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_sub<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdVec<S>, rhs: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_neg<S: Simd>( ctx: &Self::SimdCtx<S>, value: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_conj<S: Simd>( _: &Self::SimdCtx<S>, value: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_abs1<S: Simd>( ctx: &Self::SimdCtx<S>, value: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_abs_max<S: Simd>( ctx: &Self::SimdCtx<S>, value: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_mul_real<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdVec<S>, real_rhs: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_mul_pow2<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdVec<S>, real_rhs: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_mul<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdVec<S>, rhs: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_conj_mul<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdVec<S>, rhs: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_mul_add<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdVec<S>, rhs: Self::SimdVec<S>, acc: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_conj_mul_add<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdVec<S>, rhs: Self::SimdVec<S>, acc: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_abs2<S: Simd>( ctx: &Self::SimdCtx<S>, value: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_abs2_add<S: Simd>( ctx: &Self::SimdCtx<S>, value: Self::SimdVec<S>, acc: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_reduce_sum<S: Simd>( _: &Self::SimdCtx<S>, value: Self::SimdVec<S>, ) -> Self

Source§

fn simd_reduce_max<S: Simd>( _: &Self::SimdCtx<S>, value: Self::SimdVec<S>, ) -> Self

Source§

fn simd_equal<S: Simd>( ctx: &Self::SimdCtx<S>, real_lhs: Self::SimdVec<S>, real_rhs: Self::SimdVec<S>, ) -> Self::SimdMask<S>

Source§

fn simd_less_than<S: Simd>( ctx: &Self::SimdCtx<S>, real_lhs: Self::SimdVec<S>, real_rhs: Self::SimdVec<S>, ) -> Self::SimdMask<S>

Source§

fn simd_less_than_or_equal<S: Simd>( ctx: &Self::SimdCtx<S>, real_lhs: Self::SimdVec<S>, real_rhs: Self::SimdVec<S>, ) -> Self::SimdMask<S>

Source§

fn simd_greater_than<S: Simd>( ctx: &Self::SimdCtx<S>, real_lhs: Self::SimdVec<S>, real_rhs: Self::SimdVec<S>, ) -> Self::SimdMask<S>

Source§

fn simd_greater_than_or_equal<S: Simd>( ctx: &Self::SimdCtx<S>, real_lhs: Self::SimdVec<S>, real_rhs: Self::SimdVec<S>, ) -> Self::SimdMask<S>

Source§

fn simd_select<S: Simd>( ctx: &Self::SimdCtx<S>, mask: Self::SimdMask<S>, lhs: Self::SimdVec<S>, rhs: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_index_select<S: Simd>( ctx: &Self::SimdCtx<S>, mask: Self::SimdMask<S>, lhs: Self::SimdIndex<S>, rhs: Self::SimdIndex<S>, ) -> Self::SimdIndex<S>

Source§

fn simd_index_splat<S: Simd>( ctx: &Self::SimdCtx<S>, value: Self::Index, ) -> Self::SimdIndex<S>

Source§

fn simd_index_add<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdIndex<S>, rhs: Self::SimdIndex<S>, ) -> Self::SimdIndex<S>

Source§

fn simd_index_less_than<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdIndex<S>, rhs: Self::SimdIndex<S>, ) -> Self::SimdMask<S>

Source§

fn simd_and_mask<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdMask<S>, rhs: Self::SimdMask<S>, ) -> Self::SimdMask<S>

Source§

fn simd_or_mask<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdMask<S>, rhs: Self::SimdMask<S>, ) -> Self::SimdMask<S>

Source§

fn simd_not_mask<S: Simd>( ctx: &Self::SimdCtx<S>, mask: Self::SimdMask<S>, ) -> Self::SimdMask<S>

Source§

fn simd_first_true_mask<S: Simd>( ctx: &Self::SimdCtx<S>, value: Self::SimdMask<S>, ) -> usize

Source§

const SIMD_ABS_SPLIT_REAL_IMAG: bool = false

Source§

fn is_nan_impl(value: &Self) -> bool

Source§

fn simd_index_greater_than<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdIndex<S>, rhs: Self::SimdIndex<S>, ) -> Self::SimdMask<S>

Source§

fn simd_index_less_than_or_equal<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdIndex<S>, rhs: Self::SimdIndex<S>, ) -> Self::SimdMask<S>

Source§

fn simd_index_greater_than_or_equal<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdIndex<S>, rhs: Self::SimdIndex<S>, ) -> Self::SimdMask<S>

Source§

fn simd_load<S: Simd>( ctx: &Self::SimdCtx<S>, ptr: &Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_store<S: Simd>( ctx: &Self::SimdCtx<S>, ptr: &mut Self::SimdVec<S>, value: Self::SimdVec<S>, )

Source§

unsafe fn simd_mask_load<S: Simd>( ctx: &Self::SimdCtx<S>, mask: Self::SimdMemMask<S>, ptr: *const Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

unsafe fn simd_mask_store<S: Simd>( ctx: &Self::SimdCtx<S>, mask: Self::SimdMemMask<S>, ptr: *mut Self::SimdVec<S>, value: Self::SimdVec<S>, )

Source§

fn simd_iota<S: Simd>(ctx: &Self::SimdCtx<S>) -> Self::SimdIndex<S>

Source§

impl RealField for fx128