summaryrefslogtreecommitdiff
path: root/test/test_mathn.rb
AgeCommit message (Collapse)Author
2013-07-26rational.c: ensure to be Rationalnobu
* rational.c (f_round_common): Rational is expected to be returned by Rational#*, but mathn.rb breaks that assumption. [ruby-core:56177] [Bug #8687] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-07* rational.c (numeric_quo): move num_quo in numeric.c to numeric_quomrkn
in rational.c to refer canonicalization state for mathn support. [ruby-core:41575] [Bug #5736] * numeric.c (num_quo): ditto. * test/test_mathn.rb: add a test for the change at r41109. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-08Add test for r35265.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-08* complex.c (nucomp_expt): the result of f_complex_new2 may be a fixnumnaruse
with mathn. [ruby-core:44170] [Bug #6267] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23Clean warnings: unused variables.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27Cleaning up syntax warnings.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13* test/ruby/envutil.rb (invoke_ruby): call to_str for stdin_data toakr
reject non-string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-26* test/test_mathn.rb (TestMathn): new test case.yugui
test for r25067. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e