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