1use super::super::Float;
2
3pub fn fdim<F: Float>(x: F, y: F) -> F {
4 if x <= y { F::ZERO } else { x - y }
5}
6