plan9 man page for nan

Query: nan

OS: plan9

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

NAN(2)								System Calls Manual							    NAN(2)

NAME
NaN, Inf, isNaN, isInf - not-a-number and infinity functions
SYNOPSIS
#include <u.h> #include <libc.h> double NaN(void) long Inf(int) int isNaN(double) int isInf(double, int)
DESCRIPTION
The IEEE floating point standard defines values called `not-a-number' and positive and negative `infinity'. These values can be produced by such things as overflow and division by zero. Also, the library functions sometimes return them when the arguments are not in the domain, or the result is out of range. NaN returns a double that is not-a-number. IsNaN returns true if its argument is not-a-number. Inf(i) returns positive infinity if i is greater than or equal to zero, else negative infinity. IsInf returns true if its first argument is infinity with the same sign as the second argument.
SOURCE
/sys/src/libc/$objtype/nan.c NAN(2)
Related Man Pages
scalbl(3) - linux
scalb(3) - debian
finite(3m) - ultrix
ieee(3m) - ultrix
scalbl(3) - suse
Similar Topics in the Unix Linux Community
SVM metastat -- needs maintenance
Root Folder Space Maintenance (SCO)
Machine is booting to maintenance mode.
How to make smtp:sendmail online from maintenance mode?
AIX 7.1 Upgrade problem