diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-14 03:45:47 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-14 03:45:47 +0000 |
commit | 74a13c76349b3b463514f60beb9f02c2ba301ad6 (patch) | |
tree | a7c43c1a3ce727beeb510a4447bbd92df3aa37bc /ChangeLog | |
parent | 416778c5d80230183ef06a49bb58145a7480ed48 (diff) | |
download | ruby-74a13c76349b3b463514f60beb9f02c2ba301ad6.tar.gz |
* numeric.c (check_uint): fix off-by-one bug of NUM2UINT.
* bignum.c (rb_big2ulong): fix off-by-one bug of NUM2ULONG.
* test/-ext-/num2int/test_num2int.rb: add a testcase for NUM2INT()
NUM2UINT(), NUM2LONG(), NUM2ULONG(), NUM2LL and NUM2ULL().
* ext/-test-/num2int/depend: ditto.
* ext/-test-/num2int/extconf.rb: ditto.
* ext/-test-/num2int/num2int.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Sun Nov 13 09:57:29 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * numeric.c (check_uint): fix off-by-one bug of NUM2UINT. + * bignum.c (rb_big2ulong): fix off-by-one bug of NUM2ULONG. + + * test/-ext-/num2int/test_num2int.rb: add a testcase for NUM2INT() + NUM2UINT(), NUM2LONG(), NUM2ULONG(), NUM2LL and NUM2ULL(). + * ext/-test-/num2int/depend: ditto. + * ext/-test-/num2int/extconf.rb: ditto. + * ext/-test-/num2int/num2int.c: ditto. + Sun Nov 13 23:47:29 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/dbm/extconf.rb: use convertible_int. |