| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2007-07-16 | * numeric.c (fix_pow): integer power calculation: 0**n => 0, | matz | |
| 1**n => 1, -1**n => 1 (n: even) / -1 (n: odd). * test/ruby/test_fixnum.rb (TestFixnum::test_pow): update test suite. pow(-3, 2^64) gives NaN when pow(3, 2^64) gives Inf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e | |||
| 2007-07-05 | * numeric.c (int_pow): fix previous nubu's commit. | usa | |
| * test/ruby/test_fixnum.rb: new test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e | |||
