diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-19 10:36:22 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-19 10:36:22 +0000 |
commit | 9cff4e30c6ee462b7bea30e130b015ffb17b8984 (patch) | |
tree | c4554f6b3a5381629668beb88b4c56e4dbdca452 /ChangeLog | |
parent | 9f473df72a2f46f2f30c9995af4c2fa14265eb6a (diff) | |
download | ruby-9cff4e30c6ee462b7bea30e130b015ffb17b8984.tar.gz |
* bignum.c (DIGSPERLONG): Don't define if BDIGIT is bigger than long.
(DIGSPERLL): Don't define if BDIGIT is bigger than LONG_LONG
(rb_absint_size): Consider environments BDIGIT is bigger than long.
Use BIGLO and BIGDN.
(rb_absint_singlebit_p): Ditto.
(rb_integer_pack): Ditto.
(bigsub_int): Consider environments BDIGIT is bigger than long.
Use SIZEOF_BDIGITS instead of sizeof(BDIGIT).
(bigadd_int): Ditto.
(bigand_int): Ditto.
(bigor_int): Ditto.
(bigxor_int): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,18 @@ +Wed Jun 19 19:31:30 2013 Tanaka Akira <akr@fsij.org> + + * bignum.c (DIGSPERLONG): Don't define if BDIGIT is bigger than long. + (DIGSPERLL): Don't define if BDIGIT is bigger than LONG_LONG + (rb_absint_size): Consider environments BDIGIT is bigger than long. + Use BIGLO and BIGDN. + (rb_absint_singlebit_p): Ditto. + (rb_integer_pack): Ditto. + (bigsub_int): Consider environments BDIGIT is bigger than long. + Use SIZEOF_BDIGITS instead of sizeof(BDIGIT). + (bigadd_int): Ditto. + (bigand_int): Ditto. + (bigor_int): Ditto. + (bigxor_int): Ditto. + Wed Jun 19 15:14:30 2013 Koichi Sasada <ko1@atdot.net> * include/ruby/ruby.h (struct rb_data_type_struct), gc.c: add |