File: fpclassify.3

package info (click to toggle)
manpages-ja 0.5.0.0.20050315-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 18,620 kB
  • ctags: 4
  • sloc: sh: 12,675; perl: 157; makefile: 106
file content (88 lines) | stat: -rw-r--r-- 1,981 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL, 2002-07-27 Walter Harms
.\" This was done with the help of the glibc manual.
.\"
.\" 2004-10-31, aeb, corrected
.\"
.\" Japanese Version Copyright (c) 2004-2005 Yuichi SATO
.\"         all rights reserved.
.\" Translated Tue Jul 27 22:45:51 JST 2004
.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
.\" Updated & Modified Mon Jan 10 10:31:54 JST 2005 by Yuichi SATO
.\"
.TH fpclassify 3  2004-10-31 "" "Linux Programmer's Manual"
.SH ̾
fpclassify, isfinite, isnormal, isnan \- ưʬޥ
.SH 
.nf
.B #include <math.h>
.sp
.BI "int fpclassify(" x );
.sp
.BI "int isfinite(" x );
.sp
.BI "int isnormal(" x );
.sp
.BI "int isnan(" x );
.sp
.BI "int isinf(" x );
.fi
.sp
-std=c99 ǥѥ뤷\-lm ǥ󥯤롣
.SH 
ư̵¤ NaN Τ褦̤ͤĤȤǤ롣
ޥ
.BI fpclassify( x ) 

.I x
ɤΤ褦ʥפǤ뤫Τ뤳ȤǤ롣
ޥǤդưɽȤƤȤ뤳ȤǤ롣
̤ϰʲͤȤ뤳ȤǤ:
.TP
FP_NAN
.I x
 "Not a Number" Ǥ (ͤǤϤʤ)
.TP
FP_INFINITE
.I x
ޤ̵Ǥ롣
.TP 
FP_ZERO
.I x
 0 Ǥ롣
.TP
FP_SUBNORMAL
.I x
ɽˤϾ롣
.TP
FP_NORMAL
嵭ΤɤˤƤϤޤʤǤꡢ
ͤ̾ưǤϤ
.LP
¾ΥޥϡĤɸŪ䤤Фơñ󶡤롣
.TP
.BI isfinite( x )
(fpclassify(x) != FP_NAN && fpclassify(x) != FP_INFINITE)
ξ 0 ʳ֤ͤ
.TP
.BI isnormal( x )
(fpclassify(x) == FP_NORMAL)
ξ 0 ʳ֤ͤ
.TP
.BI isnan( x )
(fpclassify(x) == FP_NAN)
ξ 0 ʳ֤ͤ
.TP
.BI isinf( x )
(fpclassify(x) == FP_INFINITE)
ξ 0 ʳ֤ͤ
.SH 
BSD 4.3 ˽򤹤륷ƥǤϡ
.B isinf()
ͤФ 1 ̵֤Ф \-1 ֤
.SH 
C99
.SH Ϣ
.BR finite (3),
.BR INFINITY (3),
.BR isgreater (3)