Sign in
plan9port
/
plan9
/
1670a244d90342023fd84cee9fc01347aaed8abc
/
.
/
src
/
lib9
/
nan.c
blob: 34feb153d7255119191862ffb9f94dce38f19d42 [
file
] [
log
] [
blame
]
#include
<u.h>
#include
<libc.h>
#include
"fmt/nan.h"
double
NaN
(
void
)
{
return
__NaN
();
}
double
Inf
(
int
sign
)
{
return
__Inf
(
sign
);
}
int
isNaN
(
double
x
)
{
return
__isNaN
(
x
);
}
int
isInf
(
double
x
,
int
sign
)
{
return
__isInf
(
x
,
sign
);
}