* bignum.c: Add a static assertion for RBIGNUM_EMBED_LEN_MAX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2a2ac6236e
commit
c0796c36b5
@ -1,3 +1,7 @@
|
||||
Wed Jul 10 22:44:19 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* bignum.c: Add a static assertion for RBIGNUM_EMBED_LEN_MAX.
|
||||
|
||||
Wed Jul 10 22:31:25 2013 Masaki Matsushita <glass.saga@gmail.com>
|
||||
|
||||
* string.c (rb_str_index): cache single byte flag and some
|
||||
|
1
bignum.c
1
bignum.c
@ -45,6 +45,7 @@ static VALUE big_three = Qnil;
|
||||
#endif
|
||||
|
||||
STATIC_ASSERT(sizeof_bdigit_dbl, sizeof(BDIGIT_DBL) == SIZEOF_BDIGIT_DBL);
|
||||
STATIC_ASSERT(rbignum_embed_len_max, RBIGNUM_EMBED_LEN_MAX <= (RBIGNUM_EMBED_LEN_MASK >> RBIGNUM_EMBED_LEN_SHIFT));
|
||||
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
# define HOST_BIGENDIAN_P 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user