diff options
author | rsc <devnull@localhost> | 2003-12-04 19:18:28 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2003-12-04 19:18:28 +0000 |
commit | c715a6127a46b8090591972b5c4bb04dfabbca8b (patch) | |
tree | b4295532eb9dc1883136e52f9748bf11301fb3a3 /src/lib9 | |
parent | ccee548fda64eeb62a771e01b5ddab5f4177b2bf (diff) | |
download | plan9port-c715a6127a46b8090591972b5c4bb04dfabbca8b.tar.gz plan9port-c715a6127a46b8090591972b5c4bb04dfabbca8b.tar.bz2 plan9port-c715a6127a46b8090591972b5c4bb04dfabbca8b.zip |
nan
Diffstat (limited to 'src/lib9')
-rw-r--r-- | src/lib9/nan.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/lib9/nan.c b/src/lib9/nan.c new file mode 100644 index 00000000..d9f69655 --- /dev/null +++ b/src/lib9/nan.c @@ -0,0 +1,27 @@ +#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); +} |