Home
last modified time | relevance | path

Searched refs:BDIGIT (Results 1 – 15 of 15) sorted by relevance

/dports/lang/ruby26/ruby-2.6.9/
H A Dbignum.c147 typedef void (mulfunc_t)(BDIGIT *zds, size_t zn, const BDIGIT *xds, size_t xn, const BDIGIT *yds, s…
151 static BDIGIT bigdivrem_single(BDIGIT *qds, const BDIGIT *xds, size_t xn, BDIGIT y);
152 static void bary_divmod(BDIGIT *qds, size_t qn, BDIGIT *rds, size_t rn, const BDIGIT *xds, size_t x…
1460 bary_mul_single(BDIGIT *zds, size_t zn, BDIGIT x, BDIGIT y) in bary_mul_single()
1472 bary_muladd_1xN(BDIGIT *zds, size_t zn, BDIGIT x, const BDIGIT *yds, size_t yn) in bary_muladd_1xN()
1507 bigdivrem_mulsub(BDIGIT *zds, size_t zn, BDIGIT x, const BDIGIT *yds, size_t yn) in bigdivrem_mulsub()
1534 bary_mulsub_1xN(BDIGIT *zds, size_t zn, BDIGIT x, const BDIGIT *yds, size_t yn) in bary_mulsub_1xN()
1883 bary_mul_toom3(BDIGIT *zds, size_t zn, const BDIGIT *xds, size_t xn, const BDIGIT *yds, size_t yn, in bary_mul_toom3()
2583 bigdivrem_single1(BDIGIT *qds, const BDIGIT *xds, size_t xn, BDIGIT x_higher_bdigit, BDIGIT y) in bigdivrem_single1()
2607 bigdivrem_single(BDIGIT *qds, const BDIGIT *xds, size_t xn, BDIGIT y) in bigdivrem_single()
[all …]
H A Dinternal.h630 #ifndef BDIGIT
632 # define BDIGIT unsigned int macro
639 # define BDIGIT unsigned int macro
646 # define BDIGIT unsigned short macro
653 # define BDIGIT unsigned short macro
698 BDIGIT *digits;
700 BDIGIT ary[BIGNUM_EMBED_LEN_MAX];
H A Drational.c240 const size_t nails = (sizeof(BDIGIT)-SIZEOF_BDIGIT)*CHAR_BIT; in rb_gcd_gmp()
249 mpz_import(mx, BIGNUM_LEN(x), -1, sizeof(BDIGIT), 0, nails, BIGNUM_DIGITS(x)); in rb_gcd_gmp()
250 mpz_import(my, BIGNUM_LEN(y), -1, sizeof(BDIGIT), 0, nails, BIGNUM_DIGITS(y)); in rb_gcd_gmp()
259 mpz_export(BIGNUM_DIGITS(z), &count, -1, sizeof(BDIGIT), 0, nails, mz); in rb_gcd_gmp()
H A Dmarshal.c36 shortlen(size_t len, BDIGIT *ds) in shortlen()
38 BDIGIT num; in shortlen()
845 BDIGIT *d = BIGNUM_DIGITS(obj); in w_object()
856 BDIGIT num = *d; in w_object()
H A Dcompile.c9305 BDIGIT digits[FLEX_ARY_LEN];
9577 BDIGIT *d = BIGNUM_DIGITS(obj); in ibf_dump_object_bignum()
9580 IBF_WP(d, BDIGIT, len); in ibf_dump_object_bignum()
H A Dnumeric.c5289 DEFINE_INT_SQRT(BDIGIT, rb_bdigit_dbl, BDIGIT_DBL)
H A Dgc.c3404 size += BIGNUM_LEN(obj) * sizeof(BDIGIT); in obj_memsize_of()
H A DChangeLog8617 bignum.c: BDIGIT might or might not integer-promote
8619 BDIGIT can be unsigned int or unsigned short, depending on BDIGIT_DBL.
8622 BDIGIT, which is not always true. We have to force that explicitly.
/dports/lang/ruby26/ruby-2.6.9/ext/bigdecimal/
H A Dbigdecimal.h29 #undef BDIGIT
37 # define BDIGIT uint32_t macro
48 # define BDIGIT uint16_t macro
166 # define RMPD_BASE ((BDIGIT)100000000000000000000000000000000000000U)
169 # define RMPD_BASE ((BDIGIT)10000000000000000000U)
172 # define RMPD_BASE ((BDIGIT)1000000000U)
175 # define RMPD_BASE ((BDIGIT)10000U)
178 # define RMPD_BASE ((BDIGIT)100U)
262 BDIGIT frac[FLEXIBLE_ARRAY_SIZE]; /* Array of fraction part. */
276 static inline BDIGIT
[all …]
H A Dbigdecimal.c143 static void VpInternalRound(Real *c, size_t ixDigit, BDIGIT vPrev, BDIGIT v);
4373 BDIGIT mrv; in VpAddSub()
4501 static BDIGIT
4596 static BDIGIT
4828 BDIGIT carry; in VpMult()
5871 BDIGIT i; in VpDtoV()
5909 i = (BDIGIT)val; in VpDtoV()
6116 BDIGIT div; in VpMidRound()
6275 BDIGIT v; in VpLeftRound()
6306 VpInternalRound(Real *c, size_t ixDigit, BDIGIT vPrev, BDIGIT v) in VpInternalRound()
[all …]
/dports/lang/ruby26/ruby-2.6.9/ext/-test-/bignum/
H A Dbigzero.c8 MEMZERO(BIGNUM_DIGITS(z), BDIGIT, len); in bug_big_zero()
17 MEMZERO(BIGNUM_DIGITS(z), BDIGIT, len); in bug_big_negzero()
/dports/lang/ruby26/ruby-2.6.9/doc/
H A DChangeLog-2.1.05800 SIZEOF_BDIGITS <= sizeof(BDIGIT) is enough.
7225 BDIGIT array and size.
7227 and size. Use an temporary array of BDIGIT.
9966 This fixes (bignum fits in a BDIGIT) | (fixnum bigger than BDIGIT)
9968 such as LP64 with 32bit BDIGIT (no int128).
10097 instead of sizeof(BDIGIT).
10885 Use SIZEOF_BDIGITS instead of sizeof(BDIGIT).
10930 BDIGIT is 16bit.
12308 Use BDIGIT instead of int.
12469 * bignum.c: Use BDIGIT type for hbase.
[all …]
H A DChangeLog-2.2.010592 * internal.h: Move BDIGIT and related definitions from
H A DChangeLog-1.9.33146 * include/ruby/defines.h: add format prefixes for BDIGIT and BDIGIT_DBL.
12561 based on the size of BDIGIT.
12564 use BDIGIT for Real#frac.
/dports/devel/ppl/ppl-1.2/src/
H A Dppl.hh.dist14148 <CODE>BDIGIT</CODE> is further restricted by the current base
14183 bdigits : BDIGIT BASE : '^^'
14184 | bdigits BDIGIT ;
14189 ; BDIGIT : '0' .. '9'