cgmath
macro_rules! assert_ulps_eq { ($ given : expr, $ expected : expr $ (, $ opt : ident = $ val : expr) *) => { ... }; ($ given : expr, $ expected : expr $ (, $ opt : ident = $ val : expr) *,) => { ... }; }
An assertion that delegates to ulps_eq!, and panics with a helpful error on failure.
ulps_eq!