1 .\" Copyright 2004 Andries Brouwer <aeb@cwi.nl>.
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date. The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein. The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" Japanese Version Copyright (c) 2005 Yuichi SATO
24 .\" all rights reserved.
25 .\" Translated Thu Jan 27 00:33:04 JST 2005
26 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
28 .TH INFINITY 3 2007-07-26 "" "Linux Programmer's Manual"
31 .\"O INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \- floating-point constants
32 INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \- ÉâÆ°¾®¿ôÅÀ¿ô¤ÎÄê¿ô
36 .\"O .BR "#define _ISOC99_SOURCE" " /* See feature_test_macros(7) */"
37 .BR "#define _ISOC99_SOURCE" " /* feature_test_macros(7) »²¾È */"
55 .\"O expands to a \fIfloat\fP constant representing positive infinity.
59 \fIfloat\fP ·¿¤ÎÄê¿ô¤ËŸ³«¤µ¤ì¤ë¡£
63 .\"O expands to a \fIfloat\fP constant representing a quiet NaN
64 .\"O (when supported).
67 .\"O NaN is a NaN ("not-a-number") that does not raise exceptions
68 .\"O when it is used in arithmetic.
69 .\"O The opposite is a
72 .\"O See IEC 60559:1989.
73 (¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¾ì¹ç) ¥Þ¥¯¥í
75 ¤Ï quiet NaN ¤òɽ¤¹ \fIfloat\fP ·¿¤ÎÄê¿ô¤ËŸ³«¤µ¤ì¤ë¡£
77 NaN ¤Ï·×»»¼°¤ÎÃæ¤Ç»È¤ï¤ì¤¿¤È¤¤ËÎã³°¤òµ¯¤³¤µ¤Ê¤¤
78 NaN ("not-a-number") ¤Ç¤¢¤ë¡£
82 IEC 60559:1989 ¤ò»²¾È¤¹¤ë¤³¤È¡£
88 .\"O expand to constants of types \fIdouble\fP, \fIfloat\fP
89 .\"O and \fIlong double\fP, respectively,
90 .\"O that represent a large positive value, possibly plus infinity.
95 ¤Ï¤½¤ì¤¾¤ì \fIdouble\fP, \fIfloat\fP, \fIlong double\fP ·¿¤ÎÄê¿ô¤Ç¡¢
96 Â礤ÊÀµ¤ÎÃͤòɽ¤·¡¢²Äǽ¤Ê¾ì¹ç¤Ë¤ÏÀµ¤Î̵¸ÂÂç¤òɽ¤¹¡£
97 .\"O .SH "CONFORMING TO"
100 .\"O .SH AVAILABILITY
102 .\"O On a glibc system, the macro
104 .\"O is always available.
105 .\"O Availability of the
107 .\"O macro can be tested using
108 .\"O .BR "#ifdef NAN" ,
109 .\"O and similarly for
113 glibc ¥·¥¹¥Æ¥à¤Ç¤Ï¥Þ¥¯¥í
115 ¤¬¾ï¤Ë»ÈÍѲÄǽ¤Ç¤¢¤ë¡£
117 ¥Þ¥¯¥í¤¬»ÈÍѤǤ¤ë¤«¤Ï¡¢
119 ¤ò»È¤Ã¤Æ¥Æ¥¹¥È¤Ç¤¤ë¡£
124 .\"O They will be defined by
127 .\"O .B _ISOC99_SOURCE
131 .\"O .B __STDC_VERSION__
133 .\"O and has a value not less than 199901L.
137 ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
140 ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤Æ¡¢¤½¤ÎÃͤ¬ 199901L °Ê¾å¤Ç¤¢¤ë¾ì¹ç¡¢