projects
/
libm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use #if LDBL_MANT_DIG == ... instead of custom LD80 etc macros
[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
}