File: primes_32.h

package info (click to toggle)
sprng 2.0a-16
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,308 kB
  • sloc: ansic: 30,353; fortran: 1,618; makefile: 575; cpp: 58; sh: 5
file content (18 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _primes_32_h_
#define _primes_32_h_

#ifndef ANSI_ARGS
#ifdef __STDC__
#define ANSI_ARGS(args) args
#else
#define ANSI_ARGS(args) ()
#endif
#endif

int getprime_32 ANSI_ARGS((int need, int *prime_array, int offset));

#define MAXPRIME 11863285 /* sqrt(2)*2^23 + 2 */
#define MINPRIME 3444     /* sqrt(MAXPRIME) */
#define MAXPRIMEOFFSET 779156

#endif