Trait fath::shared::int::FastExactInt

source ·
pub trait FastExactInt {
    // Required methods
    fn ilog_const_base<const BASE: u32>(self) -> Self;
    unsafe fn ilog_const_base_unchecked<const BASE: u32>(self) -> Self;
    fn exp_const_coeff<const COEFF: u32>(self) -> Self;
}

Required Methods§

source

fn ilog_const_base<const BASE: u32>(self) -> Self

source

unsafe fn ilog_const_base_unchecked<const BASE: u32>(self) -> Self

Safety

Inputs valid when != 0.

source

fn exp_const_coeff<const COEFF: u32>(self) -> Self

Implementations on Foreign Types§

source§

impl<const LANES: usize> FastExactInt for Simd<u32, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

fn ilog_const_base<const BASE: u32>(self) -> Self

source§

unsafe fn ilog_const_base_unchecked<const BASE: u32>(self) -> Self

source§

fn exp_const_coeff<const COEFF: u32>(self) -> Self

source§

impl FastExactInt for u16

source§

fn ilog_const_base<const BASE: u32>(self) -> Self

source§

unsafe fn ilog_const_base_unchecked<const BASE: u32>(self) -> Self

source§

fn exp_const_coeff<const COEFF: u32>(self) -> Self

source§

impl FastExactInt for u32

source§

fn ilog_const_base<const BASE: u32>(self) -> Self

source§

unsafe fn ilog_const_base_unchecked<const BASE: u32>(self) -> Self

source§

fn exp_const_coeff<const COEFF: u32>(self) -> Self

source§

impl FastExactInt for u8

source§

fn ilog_const_base<const BASE: u32>(self) -> Self

source§

unsafe fn ilog_const_base_unchecked<const BASE: u32>(self) -> Self

source§

fn exp_const_coeff<const COEFF: u32>(self) -> Self

source§

impl<const LANES: usize> FastExactInt for Simd<u64, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

fn ilog_const_base<const BASE: u32>(self) -> Self

source§

unsafe fn ilog_const_base_unchecked<const BASE: u32>(self) -> Self

source§

fn exp_const_coeff<const COEFF: u32>(self) -> Self

source§

impl FastExactInt for u64

source§

fn ilog_const_base<const BASE: u32>(self) -> Self

source§

unsafe fn ilog_const_base_unchecked<const BASE: u32>(self) -> Self

source§

fn exp_const_coeff<const COEFF: u32>(self) -> Self

Implementors§