Sign in
mojo
/
mojo-testing
/
bbc0e088b4a3b02a89b563db78314a89d560be7f
/
.
/
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
;
}