=1B$B$U$J$P$5$s=1B(B

> complex? =1B$B$bF1MM$G$9!#=1B(B


complex?=1B$B$,56$K$J$k$N$O$I$&$$$&>l9g$G$9$+=1B(B?

real?=1B$B$r:n$i$:!"=1B(Bcomplex?=1B$B$r:n$kM}M3$O=1B(B?
--=20
Tomoaki NISHIYAMA

Advanced Science Research Center,
Kanazawa University,
13-1 Takara-machi,=20
Kanazawa, 920-0934, Japan


On 2011/10/31, at 20:50, tadayoshi funaba wrote:

>=20
> Issue #5521 has been reported by tadayoshi funaba.
>=20
> ----------------------------------------
> Feature #5521: =
Numeric#rational?=1B$B!"=1B(BNumeric#complex?=1B$B!"=1B(BNumeric#float? =
=1B$B$NDI2C=1B(B
> http://redmine.ruby-lang.org/issues/5521
>=20
> Author: tadayoshi funaba
> Status: Open
> Priority: Normal
> Assignee:=20
> Category: core
> Target version: 2.0
>=20
>=20
> =1B$B:#$N$H$3$m=1B(B Common Lisp =1B$B$N=1B(B rationalp =
=1B$B$J$I$K;w$?;EMM$r9M$($F$$$^$9!#=1B(B
> rational? =1B$B$O=1B(B Integer =1B$B$d=1B(B Rational =
=1B$B$KBP$7$F$b??$K$J$j$^$9!#=1B(Bfloat? =1B$B$OAH$_=1B(B
> =1B$B9~$_$K4X$7$F$O=1B(B Float =
=1B$B$@$1$G$9$,!"$=3D$l0J30$N<BAu$K$D$$$F$b$"$l$P$=3D$l$b??=1B(B
> =1B$B$K$J$j$^$9!#=1B(Bcomplex? =1B$B$bF1MM$G$9!#=1B(B
>=20
> =1B$BJL$N9M$($H$7$F!"=1B(BScheme =
=1B$B$N$h$&$J=3DR8l$K;EMMJQ99$9$k9M$($b$"$j$^$9!#$=3D$N>l=1B(B
> =1B$B9g!"%/%i%9$r8+$k$N$G$O$J$/!"=1B(Binteger? =
=1B$B$O!"=1B(B1=1B$B!"=1B(B1.0=1B$B!"=1B(BRational(1) =1B$B$N$$$:$l$K=1B(B=

> =1B$BBP$7$F$b??$rJV$9;v$K$J$j$^$9!#=1B(B
>=20
> =
=1B$B$$$:$l$K$7$F$bFCDj$N%/%i%9$H0lBP0lBP1~$9$k$b$N$O0U?^$7$F$$$^$;$s!#=1B=
(B
>=20
> =1B$B<B:]$K!"=1B(Bcomplex =
=1B$B$N<BAu$G$bI,MW$K$J$C$F$$$^$9!#:#$O;EJ}$,$J$$$N$G8UKc2=3D=1B(B
> =
=1B$B$7$K6a$$$b$N$G!"$b$&$R$H$DJL$NJ#AG?t$,$"$C$?$j!"JL$NIbF0>.?tE@?t<BAu$=
,=1B(B
> =1B$B$"$C$?>l9g$KBP1~$G$-$^$;$s!#=1B(B
>=20
>=20
>=20
> --=20
> http://redmine.ruby-lang.org
>=20
>=20