diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-26 03:16:12 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-26 03:16:12 +0000 |
commit | 9be51267b54f923e9e95824984416eca9b95dd6c (patch) | |
tree | efd6bb171fcdc6310fd7832c537f20ebf4f29ada /test/test_cmath.rb | |
parent | 3a8100835485c64f97e10a3cd1624a1b33145326 (diff) |
* bignum.c (bigand_int): Consider negative values.
(bigor_int): The allocated bignum should have enough size
to store long.
This fixes (bignum fits in a BDIGIT) | (fixnum bigger than BDIGIT)
on platforms which SIZEOF_BDIGITS < SIZEOF_LONG,
such as LP64 with 32bit BDIGIT (no int128).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_cmath.rb')
0 files changed, 0 insertions, 0 deletions