Sign in
fuchsia
/
fuchsia
/
refs/heads/releases/canary
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
math
/
fdimf.c
blob: 454768b13d43a61dc5023d3840da4730f60860f7 [
file
] [
log
] [
blame
]
#include
<math.h>
float
fdimf
(
float
x
,
float
y
)
{
if
(
isnan
(
x
))
return
x
;
if
(
isnan
(
y
))
return
y
;
return
x
>
y
?
x
-
y
:
0
;
}