/haiku-buildtools/legacy/gcc/gcc/config/mn10200/ |
H A D | udivmodsi4.c | 2 udivmodsi4(unsigned long num, unsigned long den, int modwanted) argument 7 while (den < num && bit && !(den & (1L<<31))) 9 den <<=1; 14 if (num >= den) 16 num -= den; 20 den >>=1;
|
/haiku-buildtools/gcc/libgcc/ |
H A D | udivmodsi4.c | 25 udivmodsi4(unsigned long num, unsigned long den, int modwanted) argument 30 while (den < num && bit && !(den & (1L<<31))) 32 den <<=1; 37 if (num >= den) 39 num -= den; 43 den >>=1;
|
/haiku-buildtools/gcc/libgcc/config/lm32/ |
H A D | _udivmodsi4.c | 30 __udivmodsi4 (USItype num, USItype den, int modwanted) argument 35 while (den < num && bit && !(den & (1L << 31))) 37 den <<= 1; 42 if (num >= den) 44 num -= den; 48 den >>= 1;
|
/haiku-buildtools/gcc/gmp/mpq/ |
H A D | get_den.c | 1 /* mpq_get_den(den,rat_src) -- Set DEN to the denominator of RAT_SRC. 24 mpq_get_den (MP_INT *den, const MP_RAT *src) argument 28 if (den->_mp_alloc < size) 29 _mpz_realloc (den, size); 31 MPN_COPY (den->_mp_d, src->_mp_den._mp_d, size); 32 den->_mp_size = size;
|
H A D | set_ui.c | 25 mpq_set_ui (MP_RAT *dest, unsigned long int num, unsigned long int den) argument 30 den = 1; 32 mpz_set_ui (mpq_denref (dest), den); local 39 den = 1; 48 dest->_mp_den._mp_d[0] = den; 49 dest->_mp_den._mp_size = (den != 0);
|
H A D | set_si.c | 25 mpq_set_si (MP_RAT *dest, signed long int num, unsigned long int den) argument 32 den = 1; 34 mpz_set_ui (mpq_denref (dest), den); local 43 den = 1; 52 dest->_mp_den._mp_d[0] = den; 53 dest->_mp_den._mp_size = (den != 0);
|
H A D | set_den.c | 1 /* mpq_set_den(dest,den) -- Set the denominator of DEST from DEN. 24 mpq_set_den (MP_RAT *dest, const MP_INT *den) argument 26 mp_size_t size = den->_mp_size; 32 MPN_COPY (dest->_mp_den._mp_d, den->_mp_d, abs_size);
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/ratio/operations/ |
H A D | 45866.cc | 37 VERIFY( ra_type::den == ra_type::type::den ); 39 VERIFY( ra_type::den == 4 ); 44 VERIFY( rs_type::den == rs_type::type::den ); 46 VERIFY( rs_type::den == 4 ); 51 VERIFY( rm_type::den == rm_type::type::den ); 53 VERIFY( rm_type::den == 8 ); 58 VERIFY( rd_type::den [all...] |
H A D | ops1.cc | 34 VERIFY( r.den == 24 ); 44 VERIFY( r.den == 24 ); 54 VERIFY( r.den == 32 ); 64 VERIFY( r.den == 10 );
|
H A D | ops2.cc | 39 VERIFY( r1.den == two_over_max::den); 46 VERIFY( r2.den == (INTMAX_MAX / 2) + 1 ); 57 VERIFY( r1.den == 1); 64 VERIFY( r2.den == (INTMAX_MAX / 2) + 1 );
|
H A D | ops3.cc | 36 VERIFY( r1.den == 1 ); 43 VERIFY( r2.den == INTMAX_MAX - 1 ); 56 VERIFY( r1.den == 1 ); 63 VERIFY( r2.den == INTMAX_MAX );
|
/haiku-buildtools/gcc/libgcc/config/cr16/ |
H A D | divmodhi3.c | 30 udivmodhi4 (unsigned short num, unsigned short den, short modwanted) argument 35 while (den < num && bit && !(den & (1 << 15))) 37 den <<= 1; 42 if (num >= den) 44 num -= den; 48 den >>= 1;
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/ratio/cons/ |
H A D | cons1.cc | 37 VERIFY( r0.den == 3 ); 40 VERIFY( r1.den == r0.den ); 42 VERIFY( r2.den == r0.den ); 44 VERIFY( r3.den == r0.den );
|
/haiku-buildtools/gcc/libquadmath/math/ |
H A D | catanhq.c | 58 __float128 i2, num, den; local 65 den = 1.0 - __real__ x; 66 den = i2 + den * den; 68 __real__ res = 0.25 * (logq (num) - logq (den)); 70 den = 1 - __real__ x * __real__ x - i2; 72 __imag__ res = 0.5 * atan2q (2.0 * __imag__ x, den);
|
H A D | catanq.c | 63 __float128 r2, num, den; local 67 den = 1 - r2 - __imag__ x * __imag__ x; 69 __real__ res = 0.5 * atan2q (2.0 * __real__ x, den); 74 den = __imag__ x - 1.0; 75 den = r2 + den * den; 77 __imag__ res = 0.25 * logq (num / den);
|
H A D | ctanhq.c | 57 __float128 den; local 111 den = sinhrx * sinhrx + cosix * cosix; 113 den = cosix * cosix; 114 __real__ res = sinhrx * coshrx / den; 115 __imag__ res = sinix * cosix / den;
|
/haiku-buildtools/legacy/gcc/libf2c/libF77/ |
H A D | c_div.c | 12 double ratio, den; local 24 den = b->i * (1 + ratio*ratio); 25 cr = (a->r*ratio + a->i) / den; 26 c->i = (a->i*ratio - a->r) / den; 32 den = b->r * (1 + ratio*ratio); 33 cr = (a->r + a->i*ratio) / den; 34 c->i = (a->i - a->r*ratio) / den;
|
H A D | z_div.c | 11 double ratio, den; local 23 den = b->i * (1 + ratio*ratio); 24 cr = (a->r*ratio + a->i) / den; 25 c->i = (a->i*ratio - a->r) / den; 31 den = b->r * (1 + ratio*ratio); 32 cr = (a->r + a->i*ratio) / den; 33 c->i = (a->i - a->r*ratio) / den;
|
/haiku-buildtools/gcc/libgcc/config/nios2/ |
H A D | lib2-divmod-hi.c | 28 udivmodhi4 (UHItype num, UHItype den, word_type modwanted) argument 33 while (den < num && bit && !(den & (1L<<15))) 35 den <<=1; 40 if (num >= den) 42 num -= den; 46 den >>=1;
|
H A D | lib2-divmod.c | 28 udivmodsi4 (USItype num, USItype den, word_type modwanted) argument 33 while (den < num && bit && !(den & (1L<<31))) 35 den <<=1; 40 if (num >= den) 42 num -= den; 46 den >>=1;
|
/haiku-buildtools/gcc/gmp/mpz/ |
H A D | divexact.c | 1 /* mpz_divexact -- finds quotient when known that quot * den == num && den != 0. 29 mpz_divexact (mpz_ptr quot, mpz_srcptr num, mpz_srcptr den) argument 41 mpz_tdiv_r (rem, num, den); 48 dn = ABSIZ (den); 66 if (quot == num || quot == den) 70 dp = PTR(den); 75 SIZ(quot) = (SIZ(num) ^ SIZ(den)) >= 0 ? qn : -qn;
|
/haiku-buildtools/gcc/libgcc/config/mep/ |
H A D | lib2funcs.c | 47 udivmodsi4(USItype num, USItype den, word_type modwanted) argument 52 while (den < num && bit && !(den & (1L<<31))) 54 den <<=1; 59 if (num >= den) 61 num -= den; 65 den >>=1;
|
/haiku-buildtools/gcc/libgcc/config/rl78/ |
H A D | rl78-divmod.h | 33 C3(udivmod,NAME_MODE,4) (UINT_TYPE num, UINT_TYPE den, word_type modwanted) 38 while (den < num && bit && !(den & (1L << BITS_MINUS_1))) 40 den <<= 1; 45 if (num >= den) 47 num -= den; 51 den >>= 1;
|
/haiku-buildtools/gcc/libgcc/config/msp430/ |
H A D | msp430-divmod.h | 33 C3(udivmod,NAME_MODE,4) (UINT_TYPE num, UINT_TYPE den, word_type modwanted) 38 while (den < num && bit && !(den & (1L << BITS_MINUS_1))) 40 den <<= 1; 45 if (num >= den) 47 num -= den; 51 den >>= 1;
|
/haiku-buildtools/gcc/libgcc/config/m32c/ |
H A D | lib2funcs.c | 35 udivmodsi4 (uint32_type num, uint32_type den, word_type modwanted) argument 40 while (den < num && bit && !(den & (1L << 31))) 42 den <<= 1; 47 if (num >= den) 49 num -= den; 53 den >>= 1;
|