HomeSort by: relevance | last modified time | path
    Searched defs:q1 (Results 1 - 25 of 72) sorted by relevancy

1 2 3

  /src/lib/libm/src/
e_sqrt.c 99 u_int32_t r,t1,s1,ix1,q1; local
137 q = q1 = s0 = s1 = 0; /* [q,q1] = sqrt(x) */
162 q1 += r;
174 if (q1==(u_int32_t)0xffffffff) { q1=0; q += 1;}
176 if (q1==(u_int32_t)0xfffffffe) q+=1;
177 q1+=2;
179 q1 += (q1&1)
    [all...]
e_jn.c 159 double q0,q1,h,tmp; int32_t k,m; local
161 q0 = w; z = w+h; q1 = w*z - 1.0; k=1;
162 while(q1<1.0e9) {
164 tmp = z*q1 - q0;
165 q0 = q1;
166 q1 = tmp;
e_jnf.c 113 float q0,q1,h,tmp; int32_t k,m; local
115 q0 = w; z = w+h; q1 = w*z - (float)1.0; k=1;
116 while(q1<(float)1.0e9) {
118 tmp = z*q1 - q0;
119 q0 = q1;
120 q1 = tmp;
  /src/external/lgpl3/gmp/dist/mpn/generic/
div_qr_1n_pi1.c 66 "adc %4, %q1\n\t" \
193 mp_limb_t q0, q1; local
211 umul_ppmm (q1, q0, dinv, u1);
213 q1 += u1;
214 ASSERT (q1 >= u1);
216 qp[n-1] = q1;
220 /* FIXME: Keep q1 in a variable between iterations, to reduce number
238 * | q2| q1| q0|
242 add_ssaaaa (q2, q1, -u2, u2 & dinv, CNST_LIMB(0), u1);
243 add_ssaaaa (q2, q1, q2, q1, CNST_LIMB(0), p1)
    [all...]
div_qr_1n_pi2.c 65 __asm__ ("add\t%7, %q2\n\tadc\t%5, %q1\n\tadc\t$0, %q0" \
134 #define q1 q1b macro
172 cnd = (r >= q1);
202 #undef q1 macro
div_qr_1u_pi2.c 65 __asm__ ("add\t%7, %q2\n\tadc\t%5, %q1\n\tadc\t$0, %q0" \
133 #define q1 q1b macro
168 cnd = (r >= q1);
216 cnd = (r >= q1);
234 #undef q1 macro
  /src/lib/libm/noieee_src/
n_exp__E.c 65 * Q := q1*x^2 + q2*x^4 (for 56 bits precision, add q3*x^6)
68 * (See the listing below for the values of p1,p2,q1,q2,q3. The poly-
93 vc(q1, 1.1363478204690669916E-1 ,b95a,3ee8,ec45,44a2, -3, .E8B95A44A2EC45)
99 ic(q1, 1.1110813732786649355E-1, -4, 1.C719538248597)
105 #define q1 vccast(q1) macro
119 q = z*( q1 +z*( q2 +z* q3 ));
121 q = z*( q1 +z* q2 );
n_jn.c 218 double q0,q1,h,tmp; int k,m; local
220 q0 = w; z = w+h; q1 = w*z - 1.0; k=1;
221 while (q1<1.0e9) {
223 tmp = z*q1 - q0;
224 q0 = q1;
225 q1 = tmp;
  /src/external/gpl3/gcc/dist/libgcc/config/libbid/
bid64_next.c 47 int q1, ind; local
102 // Note: we could check here if x >= 10^16 to speed up the case q1 =16
103 // q1 = nr. of decimal digits in x (1 <= q1 <= 54)
121 q1 = nr_digits[x_nr_bits - 1].digits;
122 if (q1 == 0) {
123 q1 = nr_digits[x_nr_bits - 1].digits1;
125 q1++;
127 // if q1 < P16 then pad the significand with zeros
128 if (q1 < P16)
192 int q1, ind; local
    [all...]
bid128_next.c 49 int q1, ind; local
129 // Note: we could check here if x >= 10^34 to speed up the case q1 = 34
130 // q1 = nr. of decimal digits in x
156 q1 = nr_digits[x_nr_bits - 1].digits;
157 if (q1 == 0) {
158 q1 = nr_digits[x_nr_bits - 1].digits1;
162 q1++;
164 // if q1 < P34 then pad the significand with zeros
165 if (q1 < P34) {
167 if (exp + 6176 > P34 - q1) {
254 int q1, ind; local
    [all...]
  /src/external/gpl3/gcc/dist/libquadmath/math/
atanq.c 163 q1 = 3.361907253914337187957855834229672347089E2Q, variable
239 q = ((((u + q4) * u + q3) * u + q2) * u + q1) * u + q0;
  /src/external/gpl3/gcc.old/dist/libgcc/config/libbid/
bid64_next.c 47 int q1, ind; local
102 // Note: we could check here if x >= 10^16 to speed up the case q1 =16
103 // q1 = nr. of decimal digits in x (1 <= q1 <= 54)
121 q1 = nr_digits[x_nr_bits - 1].digits;
122 if (q1 == 0) {
123 q1 = nr_digits[x_nr_bits - 1].digits1;
125 q1++;
127 // if q1 < P16 then pad the significand with zeros
128 if (q1 < P16)
192 int q1, ind; local
    [all...]
bid128_next.c 49 int q1, ind; local
129 // Note: we could check here if x >= 10^34 to speed up the case q1 = 34
130 // q1 = nr. of decimal digits in x
156 q1 = nr_digits[x_nr_bits - 1].digits;
157 if (q1 == 0) {
158 q1 = nr_digits[x_nr_bits - 1].digits1;
162 q1++;
164 // if q1 < P34 then pad the significand with zeros
165 if (q1 < P34) {
167 if (exp + 6176 > P34 - q1) {
254 int q1, ind; local
    [all...]
  /src/external/gpl3/gcc.old/dist/libquadmath/math/
atanq.c 163 q1 = 3.361907253914337187957855834229672347089E2Q, variable
239 q = ((((u + q4) * u + q3) * u + q2) * u + q1) * u + q0;
  /src/sys/crypto/aes/
aes_ct64_dec.c 42 uint64_t q0, q1, q2, q3, q4, q5, q6, q7; local
45 q1 = ~q[1];
52 q[7] = q1 ^ q4 ^ q6;
55 q[4] = q6 ^ q1 ^ q3;
57 q[2] = q4 ^ q7 ^ q1;
64 q1 = ~q[1];
71 q[7] = q1 ^ q4 ^ q6;
74 q[4] = q6 ^ q1 ^ q3;
76 q[2] = q4 ^ q7 ^ q1;
119 uint64_t q0, q1, q2, q3, q4, q5, q6, q7 local
    [all...]
aes_ct64_enc.c 75 uint64_t q0, q1, q2, q3, q4, q5, q6, q7; local
79 q1 = q[1];
87 r1 = (q1 >> 16) | (q1 << 48);
96 q[1] = q0 ^ r0 ^ q7 ^ r7 ^ r1 ^ rotr32(q1 ^ r1);
97 q[2] = q1 ^ r1 ^ r2 ^ rotr32(q2 ^ r2);
aes_ct_dec.c 56 uint32_t q0, q1, q2, q3, q4, q5, q6, q7; local
59 q1 = ~q[1];
66 q[7] = q1 ^ q4 ^ q6;
69 q[4] = q6 ^ q1 ^ q3;
71 q[2] = q4 ^ q7 ^ q1;
78 q1 = ~q[1];
85 q[7] = q1 ^ q4 ^ q6;
88 q[4] = q6 ^ q1 ^ q3;
90 q[2] = q4 ^ q7 ^ q1;
130 uint32_t q0, q1, q2, q3, q4, q5, q6, q7 local
    [all...]
aes_ct_enc.c 72 uint32_t q0, q1, q2, q3, q4, q5, q6, q7; local
76 q1 = q[1];
84 r1 = (q1 >> 8) | (q1 << 24);
93 q[1] = q0 ^ r0 ^ q7 ^ r7 ^ r1 ^ rotr16(q1 ^ r1);
94 q[2] = q1 ^ r1 ^ r2 ^ rotr16(q2 ^ r2);
  /src/crypto/external/apache2/openssl/dist/crypto/rsa/
rsa_sp800_56b_check.c 27 BIGNUM *r = NULL, *p1 = NULL, *q1 = NULL; local
39 q1 = BN_CTX_get(ctx);
40 if (q1 != NULL) {
43 BN_set_flags(q1, BN_FLG_CONSTTIME);
52 /* q1 = q - 1 */
53 && (BN_copy(q1, rsa->q) != NULL)
54 && BN_sub_word(q1, 1)
60 && (BN_cmp(rsa->dmq1, q1) < 0)
68 && BN_mod_mul(r, rsa->dmq1, rsa->e, q1, ctx)
75 BN_clear(q1);
178 BIGNUM *r, *p1, *q1, *lcm, *p1q1, *gcd; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/rsa/
rsa_sp800_56b_check.c 27 BIGNUM *r = NULL, *p1 = NULL, *q1 = NULL; local
39 q1 = BN_CTX_get(ctx);
40 if (q1 != NULL) {
43 BN_set_flags(q1, BN_FLG_CONSTTIME);
52 /* q1 = q - 1 */
53 && (BN_copy(q1, rsa->q) != NULL)
54 && BN_sub_word(q1, 1)
60 && (BN_cmp(rsa->dmq1, q1) < 0)
68 && BN_mod_mul(r, rsa->dmq1, rsa->e, q1, ctx)
75 BN_clear(q1);
178 BIGNUM *r, *p1, *q1, *lcm, *p1q1, *gcd; local
    [all...]
  /src/external/bsd/ntp/dist/tests/ntpd/
ntp_prio_q.c 216 queue* q1 = create_queue(); local
223 append_queue(q1, q2); // destroys q2
233 enqueue(q1, e1_ptr);
234 enqueue(q1, e2_ptr);
235 enqueue(q1, e3_ptr);
239 append_queue(q1, q3); // destroys q3
240 TEST_ASSERT_EQUAL(3, get_no_of_elements(q1));
243 append_queue(q4, q1); // destroys q1
268 // destroy_queue(q1); // destroyed alread
    [all...]
  /src/external/bsd/pcc/dist/pcc/f77/fcom/
equiv.c 252 chainp q, q1; local
260 for(q = p->equivs ; q ; q = q1)
262 q1 = q->eqvchain.nextp;
  /src/external/lgpl3/gmp/dist/mini-gmp/tests/
t-mpq_addsub.c 53 mpq_t q1, q2; local
55 mpq_init (q1);
61 mpq_set_ui (q1, n1, d1);
65 int fres = mpq_cmp_ui (q1, n2, d2);
70 if ((!ref) != mpq_equal (q1, q2))
84 mpq_clear (q1);
  /src/external/lgpl3/mpfr/dist/src/
log_ui.c 63 unsigned long m = (n1 / 2) + (n2 / 2) + (n1 & 1UL & n2), q1; local
68 S (P + 1, &q1, B + 1, T + 1, m, n2, p, k, need_P);
70 /* T0 <- T0*B1*Q1 + P0*B0*T1 */
74 /* Q[1] = 2^q1 */
75 mpz_mul_2exp (T[0], T[0], q1); /* mpz_mul (T[0], T[0], Q[1]) */
79 *q += q1; /* mpz_mul (Q[0], Q[0], Q[1]) */
mulders.c 157 mp_limb_t qh, d1, d0, q2, q1, q0; local
189 udiv_qr_3by2 (q2, q1, q0, np[n - 1], np[n - 2], np[n - 3],
208 q1 = floor(np[0]*(B+dinv2)/B) <= floor(np[0]*B/d1)
210 thus q1 is not larger than the true quotient.
211 q1 > np[0]*(B+dinv2)/B - 1 > np[0]*(B^3-1)/(d1*B+d0)/B - 2
213 thus q1 > np[0]*B^2/(d1*B+d0) - 2, i.e.,
214 (d1*B+d0)*q1 > np[0]*B^2 - 2*(d1*B+d0)
215 d1*B*q1 > np[0]*B^2 - 2*d1*B - 2*d0 - d0*q1 >= np[0]*B^2 - 2*d1*B - B^2
216 thus q1 > np[0]*B/d1 - 2 - B/d1 > np[0]*B/d1 - 4
    [all...]

Completed in 42 milliseconds

1 2 3