1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
3 .\" %%%LICENSE_START(VERBATIM)
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date. The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein. The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
25 .\" References consulted:
26 .\" Linux libc source code
27 .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
29 .\" Modified Sat Jul 24 19:11:11 1993 by Rik Faith (faith@cs.unc.edu)
30 .\" Modified 2004-11-12 as per suggestion by Fabian Kreutz/AEB
31 .\" to note that this function is not available in glibc2.
33 .TH INFNAN 3 1993-06-02 "GNU" "Linux Programmer's Manual"
35 infnan \- deal with infinite or not-a-number (NaN) result
40 .BI "double infnan(int " error );
47 function returns a suitable value for infinity and
48 "not-a-number" (NaN) results.
53 to represent infinity or anything else to represent NaN.
75 is anything else, NAN is returned.
81 is "not-a-number" (NaN).
86 is positive infinity or negative infinity.
90 This obsolete function was provided in
91 libc4 and libc5, but is not available in glibc2.
93 This page is part of release 3.79 of the Linux
96 A description of the project,
97 information about reporting bugs,
98 and the latest version of this page,
100 \%http://www.kernel.org/doc/man\-pages/.