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
|
.\" 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
.\"
.\" Japanese Version Copyright (c) 2004-2005 Yuichi SATO
.\" all rights reserved.
.\" Translated Fri Aug 20 04:03:26 JST 2004
.\" by Yuichi SATO <ysato444@yahoo.co.jp>
.\" Updated & Modified Sat Jan 15 02:32:55 JST 2005 by Yuichi SATO
.\"
.TH ISGREATER 3 2002-07-27 "" "Linux Programmer's Manual"
.SH ̾
isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered \-
طƥȤޥ
.SH
.nf
.B #include <math.h>
.sp
.BI "int isgreater(" x , y ");"
.sp
.BI "int isgreaterequal(" x , y ");"
.sp
.BI "int isless(" x , y ");"
.sp
.BI "int islessequal(" x , y ");"
.sp
.BI "int islessgreater(" x , y ");"
.sp
.BI "int isunordered(" x , y ");"
.fi
.sp
\fI\-std=c99\fP ǥѥ뤷\fI\-lm\fP ǥ롣
.SH
(< Τ褦) ̾δطϡ1 ĤΥڥɤ NaN ξˤϼԤ롣
㳰θˤʤ롣
뤿ᡢC99 ǤϼΤ褦ʥޥƤ롣
Υޥϥڥɤ 1 ɾ뤳ȤݾڤƤ롣
Ǥդμ¿ưڥɤˤǤ롣
.TP
isgreater()
\fI(x)\ >\ (y)\fP ꤹ롣
\fIx\fP ޤ \fIy\fP NaN Ǥ㳰ȯʤ
.TP
isgreaterequal()
\fI(x)\ >=\ (y)\fP ꤹ롣
\fIx\fP ޤ \fIy\fP NaN Ǥ㳰ȯʤ
.TP
isless()
\fI(x)\ <\ (y)\fP ꤹ롣
\fIx\fP ޤ \fIy\fP NaN Ǥ㳰ȯʤ
.TP
islessequal()
\fI(x)\ <=\ (y)\fP ꤹ롣
\fIx\fP ޤ \fIy\fP NaN Ǥ㳰ȯʤ
.TP
islessgreater()
\fI(x)\ < (y) || (x) >\ (y)\fP ꤹ롣
\fIx\fP ޤ \fIy\fP NaN Ǥ㳰ȯʤ
Υޥ \fIx\ !=\ y\fP ǤϤʤ
ʤʤ顢ɾ \fIx\fP ޤ \fIy\fP NaN ξ
true Ȥʤ뤿Ǥ롣
.TP
isunordered()
\fIx\fP ޤ \fIy\fP NaN ξ true Ȥʤ롣
ʳξ false ˤʤ롣
.SH
C99
.SH
δؿƤΥϡɥǥݡȤƤ櫓ǤϤʤ
ݡȤƤʤϡޥǥߥ졼Ȥ롣
ߥ졼Ȥϡǽ롣
NaN ˤĤƿۤʤƹʤϡ
δؿȤʤȡ
.SH Ϣ
.BR fpclassify (3),
.BR isnan (3)
|