repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove LFS64 symbol aliases; replace with dynamic linker remapping
[musl.git]
/
src
/
math
/
fdimf.c
blob
543c3648e3ff22e861479ea011a2e2e8c2077d99
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
}