1 .\" Copyright 2004 Andries Brouwer <aeb@cwi.nl>.
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 .TH INFINITY 3 2020-12-21 "" "Linux Programmer's Manual"
27 INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \- floating-point constants
30 .BR "#define _ISOC99_SOURCE" " /* See feature_test_macros(7) */"
46 constant representing positive infinity.
52 constant representing a quiet NaN
56 NaN is a NaN ("not-a-number") that does not raise exceptions
57 when it is used in arithmetic.
67 expand to constants of types
73 that represent a large positive value, possibly positive infinity.
77 On a glibc system, the macro
82 macro can be tested using
88 They will be defined by
97 and has a value not less than 199901L.