projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
math: fix pow signed shift ub
[oweals/musl.git]
/
src
/
math
/
fdimf.c
1
#include <math.h>
2
3
float fdimf(float x, float y)
4
{
5
if (isnan(x))
6
return x;
7
if (isnan(y))
8
return y;
9
return x > y ? x - y : 0;
10
}