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