plan9port/src/lib9/nan.c

28 lines
252 B
C
Raw Normal View History

2003-12-04 19:18:28 +00:00
#include <u.h>
#include <libc.h>
#include "../libfmt/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);
}