summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_complex.rb
Commit message (Collapse)AuthorAgeFilesLines
* * complex.c (nucomp_div): [ruby-dev:34357]tadf2008-04-141-0/+2
| | | | | | | | | | | | * complex.c (nucomp_abs): use hypot. * complex.c (nucomp_quo): do not force convertion. * test/ruby/test_complex.rb: omitted some meaningless tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (Init_Bignum): rdiv method removed. [ruby-dev:34242]matz2008-04-031-28/+4
| | | | | | | | | | | | * complex.c (nucomp_quo): ditto. * numeric.c (num_rdiv): ditto. * rational.c (nurat_div): ditto. * complex.c (nucomp_fdiv): fdiv implementation restored. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* anyway renamed.tadf2008-03-261-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rational.rb: add tests to achieve over 90% testmame2008-03-251-1/+126
| | | | | | | | | coverage of rational.c. * test/ruby/test_complex.rb: ditto for complex.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed. [ruby-dev:34109]tadf2008-03-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* both complex and rational are now builtin classes.tadf2008-03-161-0/+1017
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e