pub trait BesselFloat:
Float
+ Debug
+ 'static {
const MACH_EPSILON: Self;
const MACH_TINY: Self;
const MACH_HUGE: Self;
const MACH_DIGITS: i32;
const MACH_MIN_EXP: i32;
const MACH_MAX_EXP: i32;
// Required methods
fn tol() -> Self;
fn dig() -> Self;
fn fnul() -> Self;
fn rl() -> Self;
fn elim() -> Self;
fn alim() -> Self;
}Expand description
Floating-point trait for Bessel function computation.
Implemented for f64 and f32. Provides machine constants and
derived thresholds used by the Amos algorithm.
Required Associated Constants§
Sourceconst MACH_EPSILON: Self
const MACH_EPSILON: Self
Machine epsilon (D1MACH(3)).
Sourceconst MACH_DIGITS: i32
const MACH_DIGITS: i32
Number of binary digits in the mantissa (I1MACH(14)).
Sourceconst MACH_MIN_EXP: i32
const MACH_MIN_EXP: i32
Minimum binary exponent (I1MACH(12)).
Sourceconst MACH_MAX_EXP: i32
const MACH_MAX_EXP: i32
Maximum binary exponent (I1MACH(11)).
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.