diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-08 02:16:35 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-08 02:16:35 +0000 |
| commit | af0bffcf0b49005dbc8a097891e924f910c554ab (patch) | |
| tree | 3770796837bcde32fd7ac419a127530addef2220 /ChangeLog | |
| parent | 7afd881933ca5eaedf470dee5c71ac882761069a (diff) | |
| download | ruby-af0bffcf0b49005dbc8a097891e924f910c554ab.tar.gz ruby-af0bffcf0b49005dbc8a097891e924f910c554ab.tar.xz ruby-af0bffcf0b49005dbc8a097891e924f910c554ab.zip | |
* 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
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Jun 8 11:11:34 2005 Yukihiro Matsumoto <matz@ruby-lang.org> + + * 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 <nobu@ruby-lang.org> * 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 <matz@ruby-lang.org> * bignum.c (bignorm): fixed a bug in normalizing negative numbers reported from Honda Hiroki <hhonda@ipflex.com>. 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 <matz@ruby-lang.org> |
