pub fn norm_360(deg: f64) -> f64Expand description
Wraps an angle into 0.0..360.0 – the range every bearing, heading and
course in this crate is returned in.
Returns NaN unchanged rather than looping or producing a wrong finite
answer: a NaN bearing means an upstream sensor value was missing, and
silently turning that into 0.0 (due north) is exactly the kind of quiet
wrong answer this crate must not produce.