embedded-vector 0.2.1

2D, 3D, and 4D f32 vectors for no_std embedded systems
Documentation
1
2
3
4
5
6
//! Utilities shared by the test files.

/// Approximate equality for `f32` values (absolute difference).
pub fn close(a: f32, b: f32, eps: f32) -> bool {
    (a - b).abs() <= eps
}