complex.c: purge id_eqeq_p and limit return value
complex.c (f_eqeq_p): use rb_equal.
complex.c (nucomp_eqeq_p): limit return value to true or false, instead of the result of the other as-is.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
complex.c: purge id_eqeq_p and limit return value
complex.c (f_eqeq_p): use rb_equal.
complex.c (nucomp_eqeq_p): limit return value to true or false,
instead of the result of the other as-is.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e