1 | /// Positive difference (f32) |
---|---|
2 | /// |
3 | /// Determines the positive difference between arguments, returning: |
4 | /// * x - y if x > y, or |
5 | /// * +0 if x <= y, or |
6 | /// * NAN if either argument is NAN. |
7 | /// |
8 | /// A range error may occur. |
9 | #[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)] |
10 | pub fn fdimf(x: f32, y: f32) -> f32 { |
11 | super::generic::fdim(x, y) |
12 | } |
13 |