OSDN Git Service

(split) Convert contrib and obsolete pages to UTF-8.
[linuxjm/LDP_man-pages.git] / obsolete / man3 / isinf.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\"
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.
6 .\"
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
11 .\"
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
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" References consulted:
24 .\"     Linux libc source code
25 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
26 .\"     386BSD man pages
27 .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
28 .\" Modified 2002-07-27 by Walter Harms
29 .\"     (walter.harms@informatik.uni-oldenburg.de)
30 .\"
31 .\" Japanese Version Copyright (c) 1997 YOSHINO Takashi
32 .\"       all rights reserved.
33 .\" Translated Tue Feb 17 10:58:21 JST 1998
34 .\"       by YOSHINO Takashi <yoshino@civil.jcn.nihon-u.ac.jp>
35 .\" Updated Sun Sep 14 JST 2003 by Kentaro Shirakata <argrath@ub32.org>
36 .\"
37 .TH ISINF 3 2002-07-27 "" "Linux Programmer's Manual"
38 .SH 名前
39 isinf, isnan, finite \- 無限大や無効値(NaN)であるかをテストする
40 .SH 書式
41 .nf
42 .B #include <math.h>
43 .sp
44 .BI "int isinf(double " value );
45 .sp
46 .BI "int isinf(double " value );
47 .sp
48 .BI "int isnan(double " value );
49 .sp
50 .BI "int finite(double " value );
51 .fi
52 .SH 説明
53 \fBisinf()\fP 関数は、
54 \fIvalue\fP が負の無限大を表す場合には \-1 を、
55 \fIvalue\fP が正の無限大を表す場合には 1 を、
56 その他の場合には 0 を返す。
57 .PP
58 \fBisnan()\fP 関数は、
59 \fIvalue\fPが"数値ではない(not-a-number)"(NaN:無効値)場合には
60 ゼロではない値を返し、その他の場合には 0 を返す。
61 .PP
62 .\"O The \fBfinite()\fP function returns a non-zero value if \fIvalue\fP is
63 .\"O neither infinite nor a "not-a-number" (NaN) value, and 0 otherwise.
64 \fBfinite()\fP 関数は、\fIvalue\fP が無限大か "数値ではない"(NaN)値の
65 場合には 0 を返し、その他の場合にはゼロではない値を返す。
66 .\"O .SH NOTE
67 .SH 注意
68 .\"O C99 provides additional macros, such as the type-independent
69 .\"O .BR fpclassify() ,
70 .\"O .BR isinf()
71 .\"O and
72 .\"O .BR isnan() .
73 C99 は
74 .BR fpclassify() ,
75 .BR isinf() ,
76 .B isnan()
77 という、型に依存しない追加のマクロを提供している。
78 .SH 準拠
79 BSD 4.3
80 .\"O .SH "SEE ALSO"
81 .SH 関連項目
82 .BR fpclassify (3)