1
by Francesco Paolo Lovergine
rules: linking manpages-posix not manpages. |
1 |
.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved |
2
by Francesco Paolo Lovergine
* Alligned to linux main manpages edition. |
2 |
.TH "ISNAN" P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual" |
1
by Francesco Paolo Lovergine
rules: linking manpages-posix not manpages. |
3 |
.\" isnan |
4 |
.SH NAME |
|
5 |
isnan \- test for a NaN
|
|
6 |
.SH SYNOPSIS |
|
7 |
.LP
|
|
8 |
\fB#include <math.h>
|
|
9 |
.br
|
|
10 |
.sp
|
|
11 |
int isnan(real-floating\fP \fIx\fP\fB); |
|
12 |
.br
|
|
13 |
\fP
|
|
14 |
.SH DESCRIPTION |
|
15 |
.LP
|
|
16 |
The \fIisnan\fP() macro shall determine whether its argument value |
|
17 |
is a NaN. First, an argument represented in a format wider |
|
18 |
than its semantic type is converted to its semantic type. Then determination |
|
19 |
is based on the type of the argument. |
|
20 |
.SH RETURN VALUE |
|
21 |
.LP
|
|
22 |
The \fIisnan\fP() macro shall return a non-zero value if and only |
|
23 |
if its argument has a NaN value. |
|
24 |
.SH ERRORS |
|
25 |
.LP
|
|
26 |
No errors are defined. |
|
27 |
.LP
|
|
28 |
\fIThe following sections are informative.\fP |
|
29 |
.SH EXAMPLES |
|
30 |
.LP
|
|
31 |
None. |
|
32 |
.SH APPLICATION USAGE |
|
33 |
.LP
|
|
34 |
None. |
|
35 |
.SH RATIONALE |
|
36 |
.LP
|
|
37 |
None. |
|
38 |
.SH FUTURE DIRECTIONS |
|
39 |
.LP
|
|
40 |
None. |
|
41 |
.SH SEE ALSO |
|
42 |
.LP
|
|
43 |
\fIfpclassify\fP() , \fIisfinite\fP() , \fIisinf\fP() , \fIisnormal\fP() |
|
44 |
, \fIsignbit\fP() , the |
|
45 |
Base Definitions volume of IEEE\ Std\ 1003.1-2001, \fI<math.h>\fP |
|
46 |
.SH COPYRIGHT |
|
47 |
Portions of this text are reprinted and reproduced in electronic form |
|
48 |
from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology |
|
49 |
-- Portable Operating System Interface (POSIX), The Open Group Base |
|
50 |
Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of |
|
51 |
Electrical and Electronics Engineers, Inc and The Open Group. In the |
|
52 |
event of any discrepancy between this version and the original IEEE and |
|
53 |
The Open Group Standard, the original IEEE and The Open Group Standard |
|
54 |
is the referee document. The original Standard can be obtained online at |
|
55 |
http://www.opengroup.org/unix/online.html . |