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