diff options
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Tue Jul 17 00:50:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org> + + * numeric.c (fix_pow): integer power calculation: 0**n => 0, + 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. + Mon Jul 16 23:07:51 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * lib/base64.rb (Base64::b64encode): should not specify /o option |
