Skip to main content

ExpIntConsts

Trait ExpIntConsts 

Source
pub trait ExpIntConsts<const N: usize>: FloatConsts + Sized {
    const SMALL_N: [Self; 6];
    const SMALL_D: [Self; 6];
    const LARGE_N: [Self; 11];
    const LARGE_D: [Self; 12];
    const ASYMPTOTIC_CONST: Self;
    const RECURRENCE_THRESHOLD: Self;
    const ONE_OVER_N_MINUS_1: Self;
    const FACTORS: [Self; N];
    const RECIPROCALS: [Self; N];
    const RECURRENCE_THRESHOLDS: [Self; 33];
    const RECIPROCAL_TABLE: [Self; 33];

    // Required method
    fn recurrence_threshold_dyn(n: u32) -> Self;
}

Required Associated Constants§

Source

const SMALL_N: [Self; 6]

Source

const SMALL_D: [Self; 6]

Source

const LARGE_N: [Self; 11]

Source

const LARGE_D: [Self; 12]

Source

const ASYMPTOTIC_CONST: Self

Source

const RECURRENCE_THRESHOLD: Self

Source

const ONE_OVER_N_MINUS_1: Self

Source

const FACTORS: [Self; N]

Source

const RECIPROCALS: [Self; N]

Source

const RECURRENCE_THRESHOLDS: [Self; 33]

RECURRENCE_THRESHOLD for every order below EXPINT_TABLE_ORDERS, precomputed: the threshold is a bisection, which the runtime-order form must not pay per call.

Source

const RECIPROCAL_TABLE: [Self; 33]

1/(2+k) for k below EXPINT_TABLE_ORDERS, the recurrence’s per-step scale.

Required Methods§

Source

fn recurrence_threshold_dyn(n: u32) -> Self

RECURRENCE_THRESHOLD for an order known only at runtime: a table lookup, falling back to the bisection only past the table.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<const N: usize> ExpIntConsts<N> for f32

Source§

const SMALL_N: [Self; 6]

Source§

const SMALL_D: [Self; 6]

Source§

const LARGE_N: [Self; 11]

Source§

const LARGE_D: [Self; 12]

Source§

const ASYMPTOTIC_CONST: Self = 0.66373538970947265625

Source§

const RECURRENCE_THRESHOLD: Self

Source§

const RECURRENCE_THRESHOLDS: [Self; 33]

Source§

const RECIPROCAL_TABLE: [Self; 33]

Source§

const ONE_OVER_N_MINUS_1: Self

Source§

const FACTORS: [Self; N]

Source§

const RECIPROCALS: [Self; N]

Source§

fn recurrence_threshold_dyn(n: u32) -> Self

Source§

impl<const N: usize> ExpIntConsts<N> for f64

Source§

const SMALL_N: [Self; 6]

Source§

const SMALL_D: [Self; 6]

Source§

const LARGE_N: [Self; 11]

Source§

const LARGE_D: [Self; 12]

Source§

const ASYMPTOTIC_CONST: Self = 0.66373538970947265625

Source§

const RECURRENCE_THRESHOLD: Self

Source§

const RECURRENCE_THRESHOLDS: [Self; 33]

Source§

const RECIPROCAL_TABLE: [Self; 33]

Source§

const ONE_OVER_N_MINUS_1: Self

Source§

const FACTORS: [Self; N]

Source§

const RECIPROCALS: [Self; N]

Source§

fn recurrence_threshold_dyn(n: u32) -> Self

Implementors§

Last built: 2026-09-08 21:35:55 UTC