plan9port/src/lib9/nan.c
rsc 5a8e63b2f0 Fighting the good fight.
Move libfmt, libutf into subdirectories of lib9.

Add poll-based socket i/o to libthread, so that we can
avoid using multiple procs when possible, thus removing
dependence on crappy pthreads implementations.

Convert samterm, acme to the single-proc libthread.

Bring libcomplete, acme up-to-date w.r.t. Plan 9 distribution.
2004-02-29 22:10:26 +00:00

27 lines
246 B
C

#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);
}