fix struct layout mismatch in sound ioctl time32 fallback conversion
[musl.git] / src / math / fdimf.c
blob543c3648e3ff22e861479ea011a2e2e8c2077d99
1 #include <math.h>
3 float fdimf(float x, float y)
5 if (isnan(x))
6 return x;
7 if (isnan(y))
8 return y;
9 return x > y ? x - y : 0;