OSDN Git Service

(split) LDP: Update the version to 3.53 in PO files
[linuxjm/LDP_man-pages.git] / draft / man3 / INFINITY.3
1 .\" Copyright 2004 Andries Brouwer <aeb@cwi.nl>.
2 .\"
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.
7 .\"
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.
12 .\"
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
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" %%%LICENSE_END
24 .\"
25 .\"*******************************************************************
26 .\"
27 .\" This file was generated with po4a. Translate the source file.
28 .\"
29 .\"*******************************************************************
30 .TH INFINITY 3 2007\-07\-26 "" "Linux Programmer's Manual"
31 .SH 名前
32 INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \- 浮動小数点数の定数
33 .SH 書式
34 .nf
35 \fB#define _ISOC99_SOURCE\fP      /* feature_test_macros(7) 参照 */
36 .br
37 \fB#include <math.h>\fP
38 .sp
39 \fBINFINITY\fP
40 .sp
41 \fBNAN\fP
42 .sp
43 \fBHUGE_VAL\fP
44 .br
45 \fBHUGE_VALF\fP
46 .br
47 \fBHUGE_VALL\fP
48 .fi
49 .SH 説明
50 マクロ \fBINFINITY\fP は正の無限大を表す \fIfloat\fP 型の定数に展開される。
51
52 (サポートされている場合) マクロ \fBNAN\fP は quiet NaN を表す \fIfloat\fP 型の定数に展開される。 \fIquiet\fP NaN
53 は計算式の中で使われたときに例外を起こさない NaN ("not\-a\-number") である。 この反対は \fIsignalling\fP NaN
54 である。 IEC 60559:1989 を参照すること。
55
56 マクロ \fBHUGE_VAL\fP, \fBHUGE_VALF\fP, \fBHUGE_VALL\fP はそれぞれ \fIdouble\fP, \fIfloat\fP,
57 \fIlong double\fP 型の定数で、 大きな正の値を表し、可能な場合には正の無限大を表す。
58 .SH 準拠
59 C99.
60 .SH 可用性
61 glibc システムではマクロ \fBHUGE_VAL\fP が常に使用可能である。 \fBNAN\fP マクロが使用できるかは、 \fB#ifdef NAN\fP
62 を使ってテストできる。 \fBINFINITY\fP, \fBHUGE_VALF\fP, \fBHUGE_VALL\fP も同様である。
63 \fB_ISOC99_SOURCE\fP か \fB_GNU_SOURCE\fP が定義されている場合、 または \fB__STDC_VERSION__\fP
64 が定義されていて、その値が 199901L 以上である場合、 これらのマクロは \fI<math.h>\fP で定義される。
65 .SH 関連項目
66 \fBfpclassify\fP(3), \fBmath_error\fP(7)
67 .SH この文書について
68 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
69 である。プロジェクトの説明とバグ報告に関する情報は
70 http://www.kernel.org/doc/man\-pages/ に書かれている。