mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-15 11:20:03 +00:00
5a8e63b2f0
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.
27 lines
246 B
C
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);
|
|
}
|