From af0bffcf0b49005dbc8a097891e924f910c554ab Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 8 Jun 2005 02:16:35 +0000 Subject: * bignum.c (get2comp): revert all prior changes, and calculate proper 2's complement for negative numbers. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index a969e4998..ccd39a24d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jun 8 11:11:34 2005 Yukihiro Matsumoto + + * bignum.c (get2comp): revert all prior changes, and calculate + proper 2's complement for negative numbers. + Wed Jun 8 08:33:10 2005 Nobuyoshi Nakada * enum.c (enum_min_by, enum_max_by): return nil if no iteration. @@ -11,7 +16,10 @@ Wed Jun 8 01:27:06 2005 Yukihiro Matsumoto * bignum.c (bignorm): fixed a bug in normalizing negative numbers reported from Honda Hiroki . normalizing - should not trim preceding zeros from negative numbers. + should not trim leading zeros from negative numbers. + + * bignum.c (rb_cstr_to_inum): must remove leading zeros for this + case. Wed Jun 8 00:15:08 2005 Yukihiro Matsumoto -- cgit