projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
958546064389bfa3bb5bb2fc16b728726b3ea1f6
[musl]
/
src
/
math
/
fdim.c
1
#include <math.h>
2
3
double fdim(double x, double y)
4
{
5
if (isnan(x))
6
return x;
7
if (isnan(y))
8
return y;
9
return x > y ? x - y : 0;
10
}