Sign in
◑
Theme
mojo
/
mojo-tools
/
e72c5b36e0633399dfe0f906be25cdf0fc0935be
/
.
/
fusl
/
src
/
math
/
fdim.c
blob: 1eb169e3e53336a5a10e59af97f7cdd57c11e5c8 [
file
]
#include
<math.h>
double
fdim
(
double
x
,
double
y
)
{
if
(
isnan
(
x
))
return
x
;
if
(
isnan
(
y
))
return
y
;
return
x
>
y
?
x
-
y
:
0
;
}