| /src/games/hack/ |
| hack.dog.c | 192 int nx, ny, omx, omy, appr, nearer, j; local 325 appr = (udist >= 9) ? 1 : (mtmp->mflee) ? -1 : 0; 332 appr = 1; 335 if (appr == 0) { 339 appr = 1; 346 appr = 1; /* gtyp != UNDEF */ 348 appr = 0; 440 nearer *= appr;
|
| hack.dog.c | 192 int nx, ny, omx, omy, appr, nearer, j; local 325 appr = (udist >= 9) ? 1 : (mtmp->mflee) ? -1 : 0; 332 appr = 1; 335 if (appr == 0) { 339 appr = 1; 346 appr = 1; /* gtyp != UNDEF */ 348 appr = 0; 440 nearer *= appr;
|
| hack.mon.c | 320 int nx, ny, omx, omy, appr, nearer, cnt, i, j; local 394 appr = 1; 396 appr = -1; 399 appr = 0; 404 if (msym == 'L' && appr == 1 && mtmp->mgold > u.ugold) 405 appr = -1; 453 if (mind < SRCHRADIUS && appr == -1) { 458 appr = 1; 487 if ((appr == 1 && nearer) || (appr == -1 && !nearer) | [all...] |
| hack.shk.c | 943 schar appr, i; local 981 appr = 1; 1025 appr = gx = gy = 0; 1033 appr = 0; 1066 if ((!appr && !rn2(++chcnt)) || 1068 (appr && (zz = GDIST(nix, niy)) && zz > GDIST(nx, ny)) 1070 (appr && GDIST(nx, ny) < GDIST(nix, niy))
|
| hack.mon.c | 320 int nx, ny, omx, omy, appr, nearer, cnt, i, j; local 394 appr = 1; 396 appr = -1; 399 appr = 0; 404 if (msym == 'L' && appr == 1 && mtmp->mgold > u.ugold) 405 appr = -1; 453 if (mind < SRCHRADIUS && appr == -1) { 458 appr = 1; 487 if ((appr == 1 && nearer) || (appr == -1 && !nearer) | [all...] |
| hack.shk.c | 943 schar appr, i; local 981 appr = 1; 1025 appr = gx = gy = 0; 1033 appr = 0; 1066 if ((!appr && !rn2(++chcnt)) || 1068 (appr && (zz = GDIST(nix, niy)) && zz > GDIST(nx, ny)) 1070 (appr && GDIST(nx, ny) < GDIST(nix, niy))
|
| /src/external/lgpl3/gmp/dist/tests/mpn/ |
| t-hgcd_appr.c | 409 struct hgcd_ref appr; local 424 hgcd_ref_init (&appr); 464 mpz_realloc (appr.m[i][j], mn); 465 MPN_COPY (PTR (appr.m[i][j]), hgcd->p[i][j], mn); 466 SIZ (appr.m[i][j]) = mn; 469 mpz_mul (appr_r0, appr.m[1][1], a); 470 mpz_mul (t, appr.m[0][1], b); 479 mpz_mul (appr_r1, appr.m[1][0], a); 480 mpz_mul (t, appr.m[0][0], b); 511 fprintf (stderr, "n = %u: sbits = %u: ref #(r0-r1): %u, appr #(r0-r1): %u excess: %d, margin: %u\n" [all...] |
| t-hgcd_appr.c | 409 struct hgcd_ref appr; local 424 hgcd_ref_init (&appr); 464 mpz_realloc (appr.m[i][j], mn); 465 MPN_COPY (PTR (appr.m[i][j]), hgcd->p[i][j], mn); 466 SIZ (appr.m[i][j]) = mn; 469 mpz_mul (appr_r0, appr.m[1][1], a); 470 mpz_mul (t, appr.m[0][1], b); 479 mpz_mul (appr_r1, appr.m[1][0], a); 480 mpz_mul (t, appr.m[0][0], b); 511 fprintf (stderr, "n = %u: sbits = %u: ref #(r0-r1): %u, appr #(r0-r1): %u excess: %d, margin: %u\n" [all...] |