SIZEOF_BDIGIT 49 bignum.c STATIC_ASSERT(sizeof_bdigit, SIZEOF_BDIGIT <= sizeof(BDIGIT)); SIZEOF_BDIGIT 50 bignum.c STATIC_ASSERT(sizeof_bdigit_and_dbl, SIZEOF_BDIGIT*2 <= SIZEOF_BDIGIT_DBL); SIZEOF_BDIGIT 56 bignum.c #if SIZEOF_BDIGIT < SIZEOF_LONG SIZEOF_BDIGIT 57 bignum.c STATIC_ASSERT(sizeof_long_and_sizeof_bdigit, SIZEOF_LONG % SIZEOF_BDIGIT == 0); SIZEOF_BDIGIT 59 bignum.c STATIC_ASSERT(sizeof_long_and_sizeof_bdigit, SIZEOF_BDIGIT % SIZEOF_LONG == 0); SIZEOF_BDIGIT 76 bignum.c #define BITSPERDIG (SIZEOF_BDIGIT*CHAR_BIT) SIZEOF_BDIGIT 86 bignum.c #if SIZEOF_BDIGIT == 2 SIZEOF_BDIGIT 88 bignum.c #elif SIZEOF_BDIGIT == 4 SIZEOF_BDIGIT 90 bignum.c #elif SIZEOF_BDIGIT == 8 SIZEOF_BDIGIT 99 bignum.c (size_t)(BIGNUM_LEN(x)*SIZEOF_BDIGIT - nlz(BDIGITS(x)[BIGNUM_LEN(x)-1])/CHAR_BIT) : \ SIZEOF_BDIGIT 103 bignum.c #define bdigit_roomof(n) roomof(n, SIZEOF_BDIGIT) SIZEOF_BDIGIT 158 bignum.c #if SIZEOF_BDIGIT <= SIZEOF_INT SIZEOF_BDIGIT 159 bignum.c static int nlz(BDIGIT x) { return nlz_int((unsigned int)x) - (SIZEOF_INT-SIZEOF_BDIGIT) * CHAR_BIT; } SIZEOF_BDIGIT 160 bignum.c #elif SIZEOF_BDIGIT <= SIZEOF_LONG SIZEOF_BDIGIT 161 bignum.c static int nlz(BDIGIT x) { return nlz_long((unsigned long)x) - (SIZEOF_LONG-SIZEOF_BDIGIT) * CHAR_BIT; } SIZEOF_BDIGIT 162 bignum.c #elif SIZEOF_BDIGIT <= SIZEOF_LONG_LONG SIZEOF_BDIGIT 163 bignum.c static int nlz(BDIGIT x) { return nlz_long_long((unsigned LONG_LONG)x) - (SIZEOF_LONG_LONG-SIZEOF_BDIGIT) * CHAR_BIT; } SIZEOF_BDIGIT 164 bignum.c #elif SIZEOF_BDIGIT <= SIZEOF_INT128_T SIZEOF_BDIGIT 165 bignum.c static int nlz(BDIGIT x) { return nlz_int128((uint128_t)x) - (SIZEOF_INT128_T-SIZEOF_BDIGIT) * CHAR_BIT; } SIZEOF_BDIGIT 665 bignum.c #if defined(HAVE_UINT16_T) && 2 <= SIZEOF_BDIGIT SIZEOF_BDIGIT 673 bignum.c #if defined(HAVE_UINT32_T) && 4 <= SIZEOF_BDIGIT SIZEOF_BDIGIT 681 bignum.c #if defined(HAVE_UINT64_T) && 8 <= SIZEOF_BDIGIT SIZEOF_BDIGIT 696 bignum.c #if defined(HAVE_UINT16_T) && 2 <= SIZEOF_BDIGIT SIZEOF_BDIGIT 701 bignum.c return (wordsize == SIZEOF_BDIGIT && de - dp == 2 && dp[1] == 1 && dp[0] == 0) ? -1 : SIZEOF_BDIGIT 705 bignum.c #if defined(HAVE_UINT32_T) && 4 <= SIZEOF_BDIGIT SIZEOF_BDIGIT 710 bignum.c return (wordsize == SIZEOF_BDIGIT && de - dp == 2 && dp[1] == 1 && dp[0] == 0) ? -1 : SIZEOF_BDIGIT 714 bignum.c #if defined(HAVE_UINT64_T) && 8 <= SIZEOF_BDIGIT SIZEOF_BDIGIT 719 bignum.c return (wordsize == SIZEOF_BDIGIT && de - dp == 2 && dp[1] == 1 && dp[0] == 0) ? -1 : SIZEOF_BDIGIT 726 bignum.c if (nails == 0 && SIZEOF_BDIGIT == sizeof(BDIGIT) && SIZEOF_BDIGIT 729 bignum.c size_t src_size = (de - dp) * SIZEOF_BDIGIT; SIZEOF_BDIGIT 757 bignum.c if (nails == 0 && SIZEOF_BDIGIT == sizeof(BDIGIT) && SIZEOF_BDIGIT 758 bignum.c wordsize % SIZEOF_BDIGIT == 0 && (uintptr_t)words % ALIGNOF(BDIGIT) == 0) { SIZEOF_BDIGIT 759 bignum.c size_t bdigits_per_word = wordsize / SIZEOF_BDIGIT; SIZEOF_BDIGIT 1067 bignum.c ((size == SIZEOF_BDIGIT && u == 0) ? -2 : -1) : SIZEOF_BDIGIT 1099 bignum.c #if defined(HAVE_UINT16_T) && 2 <= SIZEOF_BDIGIT SIZEOF_BDIGIT 1105 bignum.c #if defined(HAVE_UINT32_T) && 4 <= SIZEOF_BDIGIT SIZEOF_BDIGIT 1111 bignum.c #if defined(HAVE_UINT64_T) && 8 <= SIZEOF_BDIGIT SIZEOF_BDIGIT 1119 bignum.c if (nails == 0 && SIZEOF_BDIGIT == sizeof(BDIGIT) && SIZEOF_BDIGIT 1123 bignum.c size_t dst_size = num_bdigits * SIZEOF_BDIGIT; SIZEOF_BDIGIT 1149 bignum.c if (nails == 0 && SIZEOF_BDIGIT == sizeof(BDIGIT) && SIZEOF_BDIGIT 1150 bignum.c wordsize % SIZEOF_BDIGIT == 0) { SIZEOF_BDIGIT 1151 bignum.c size_t bdigits_per_word = wordsize / SIZEOF_BDIGIT; SIZEOF_BDIGIT 2262 bignum.c const size_t nails = (sizeof(BDIGIT)-SIZEOF_BDIGIT)*CHAR_BIT; SIZEOF_BDIGIT 2735 bignum.c const size_t nails = (sizeof(BDIGIT)-SIZEOF_BDIGIT)*CHAR_BIT; SIZEOF_BDIGIT 2880 bignum.c printf("_%0*"PRIxBDIGIT, SIZEOF_BDIGIT*2, BDIGITS(x)[i]); SIZEOF_BDIGIT 3087 bignum.c #if SIZEOF_BDIGIT < SIZEOF_LONG SIZEOF_BDIGIT 3097 bignum.c #if SIZEOF_BDIGIT < SIZEOF_LONG SIZEOF_BDIGIT 3098 bignum.c if (sizeof(long)/SIZEOF_BDIGIT < n) SIZEOF_BDIGIT 3148 bignum.c #if SIZEOF_BDIGIT >= SIZEOF_VALUE SIZEOF_BDIGIT 3246 bignum.c #if SIZEOF_BDIGIT >= SIZEOF_LONG SIZEOF_BDIGIT 3274 bignum.c return (de - dp) * SIZEOF_BDIGIT - num_leading_zeros / CHAR_BIT; SIZEOF_BDIGIT 3444 bignum.c #if SIZEOF_BDIGIT >= SIZEOF_LONG SIZEOF_BDIGIT 3549 bignum.c #if SIZEOF_BDIGIT >= SIZEOF_LONG SIZEOF_BDIGIT 3943 bignum.c const size_t nails = (sizeof(BDIGIT)-SIZEOF_BDIGIT)*CHAR_BIT; SIZEOF_BDIGIT 4397 bignum.c #if SIZEOF_BDIGIT >= SIZEOF_LONG_LONG SIZEOF_BDIGIT 4965 bignum.c const size_t nails = (sizeof(BDIGIT)-SIZEOF_BDIGIT)*CHAR_BIT; SIZEOF_BDIGIT 5061 bignum.c #if SIZEOF_LONG <= SIZEOF_BDIGIT SIZEOF_BDIGIT 5121 bignum.c #if SIZEOF_LONG_LONG <= SIZEOF_BDIGIT SIZEOF_BDIGIT 5570 bignum.c #if SIZEOF_BDIGIT < SIZEOF_LONG SIZEOF_BDIGIT 5577 bignum.c #if SIZEOF_BDIGIT >= SIZEOF_LONG SIZEOF_BDIGIT 5618 bignum.c #if SIZEOF_BDIGIT < SIZEOF_LONG SIZEOF_BDIGIT 5632 bignum.c #if SIZEOF_BDIGIT < SIZEOF_LONG SIZEOF_BDIGIT 5666 bignum.c #if SIZEOF_BDIGIT < SIZEOF_LONG SIZEOF_BDIGIT 5675 bignum.c #if SIZEOF_BDIGIT >= SIZEOF_LONG SIZEOF_BDIGIT 6242 bignum.c #if SIZEOF_BDIGIT >= SIZEOF_LONG SIZEOF_BDIGIT 6250 bignum.c #if SIZEOF_BDIGIT < SIZEOF_LONG SIZEOF_BDIGIT 6258 bignum.c #if SIZEOF_BDIGIT >= SIZEOF_LONG SIZEOF_BDIGIT 6350 bignum.c #if SIZEOF_BDIGIT < SIZEOF_LONG SIZEOF_BDIGIT 6357 bignum.c #if SIZEOF_BDIGIT >= SIZEOF_LONG SIZEOF_BDIGIT 6466 bignum.c #if SIZEOF_BDIGIT < SIZEOF_LONG SIZEOF_BDIGIT 6473 bignum.c #if SIZEOF_BDIGIT >= SIZEOF_LONG SIZEOF_BDIGIT 57 ext/-test-/bignum/mul.c rb_define_const(rb_cInteger, "SIZEOF_BDIGIT", INT2NUM(SIZEOF_BDIGIT)); SIZEOF_BDIGIT 58 ext/-test-/bignum/mul.c rb_define_const(rb_cInteger, "BITSPERDIG", INT2NUM(SIZEOF_BDIGIT * CHAR_BIT)); SIZEOF_BDIGIT 457 internal.h # define SIZEOF_ACTUAL_BDIGIT SIZEOF_BDIGIT SIZEOF_BDIGIT 35 marshal.c #if SIZEOF_SHORT == SIZEOF_BDIGIT SIZEOF_BDIGIT 49 marshal.c return (len - 1)*SIZEOF_BDIGIT/2 + offset; SIZEOF_BDIGIT 812 marshal.c #if SIZEOF_BDIGIT > SIZEOF_SHORT SIZEOF_BDIGIT 816 marshal.c for (i=0; i<SIZEOF_BDIGIT; i+=SIZEOF_SHORT) { SIZEOF_BDIGIT 275 rational.c const size_t nails = (sizeof(BDIGIT)-SIZEOF_BDIGIT)*CHAR_BIT; SIZEOF_BDIGIT 289 rational.c zn = (mpz_sizeinbase(mz, 16) + SIZEOF_BDIGIT*2 - 1) / (SIZEOF_BDIGIT*2);