ruvector_math/utils/
mod.rs

1//! Utility functions for numerical operations
2
3mod numerical;
4mod sorting;
5
6pub use numerical::*;
7pub use sorting::*;
8
9/// Small epsilon for numerical stability
10pub const EPS: f64 = 1e-10;
11
12/// Small epsilon for f32
13pub const EPS_F32: f32 = 1e-7;
14
15/// Log of minimum positive f64
16pub const LOG_MIN: f64 = -700.0;
17
18/// Log of maximum positive f64
19pub const LOG_MAX: f64 = 700.0;