Home | History | Annotate | Download | only in etc

Lines Matching full:mp_digit

14 static  mp_digit
36 mp_digit r, x, y, next;
42 r = 3; fwrite(&r, 1, sizeof(mp_digit), out);
43 r = 5; fwrite(&r, 1, sizeof(mp_digit), out);
44 r = 7; fwrite(&r, 1, sizeof(mp_digit), out);
45 r = 11; fwrite(&r, 1, sizeof(mp_digit), out);
46 r = 13; fwrite(&r, 1, sizeof(mp_digit), out);
47 r = 17; fwrite(&r, 1, sizeof(mp_digit), out);
48 r = 19; fwrite(&r, 1, sizeof(mp_digit), out);
49 r = 23; fwrite(&r, 1, sizeof(mp_digit), out);
50 r = 29; fwrite(&r, 1, sizeof(mp_digit), out);
51 r = 31; fwrite(&r, 1, sizeof(mp_digit), out);
143 if (r > 31) { fwrite(&r, 1, sizeof(mp_digit), out); printf("%9d\r", r); fflush(stdout); }
158 n_prime = ftell(primes) / sizeof(mp_digit);
161 mp_digit prime_digit(void)
164 mp_digit d;
167 fseek(primes, n * sizeof(mp_digit), SEEK_SET);
168 fread(&d, 1, sizeof(mp_digit), primes);
179 static const mp_digit bases[] = { 2, 3, 5, 7, 11, 13, 17, 19 };