diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-28 14:25:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-28 14:25:59 +0000 |
commit | 202cc8e615975d67659d517bac04b8697c34c2f0 (patch) | |
tree | 0abf4de8dc11901483e22c662b0f8ce66d85f137 /ChangeLog | |
parent | f450dede0e71b0db8ec0ba2f31f6907a778e3fbb (diff) | |
download | ruby-202cc8e615975d67659d517bac04b8697c34c2f0.tar.gz |
math.c: fix for Bignum argument
* math.c (math_log, math_log2, math_log10): fix for Bignum argument.
numbits should be add only when right shifted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sat Sep 28 23:25:56 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * math.c (math_log, math_log2, math_log10): fix for Bignum argument. + numbits should be add only when right shifted. + Sat Sep 28 14:30:29 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com> * test/dl/test_base.rb: {libc, libm} detection now handle GNU/Hurd |