summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-14 14:31:21 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-14 14:31:21 +0000
commitb93d9cf2d03c2491e1bdaa0465b2de45cd119f65 (patch)
tree8c819ec7470696280d10f72a832d7f3f6e1b0a55 /ChangeLog
parentb64110924a5151d7381ba6805a207968e1c37ea6 (diff)
downloadruby-b93d9cf2d03c2491e1bdaa0465b2de45cd119f65.tar.gz
ruby-b93d9cf2d03c2491e1bdaa0465b2de45cd119f65.tar.xz
ruby-b93d9cf2d03c2491e1bdaa0465b2de45cd119f65.zip
* 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6c7cac666..29bc9ca54 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Sat Jul 14 22:49:30 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.
+
Sat Jul 14 18:46:35 2007 Tanaka Akira <akr@fsij.org>
* configure.in: add --with-valgrind.