Primitive zero-crossing helpers.
Exact zero values are treated as neutral samples: they do not create a crossing on their own, but they also do not break the sign continuity between surrounding non-zero finite samples.
Examples
use ;
let samples = ;
assert!;
assert_eq!;
assert_eq!;