setup_prime_table

synopsis: INT setup_prime_table()

description:

Creates a table of rational prime numbers. If the source is compiled with PRIME_FILE #defined, it searches for a file in the current directory named PRIMES.DAT, and reads the table of primes from that file. The first entry should be the number of primes in the file, then the list of primes (assumes that INTs are longs). If PRIME_FILE is not #defined, a table of the first 15 primes is set up. Returns OK if the table is set; otherwise, returns ERROR.

return:

OK or ERROR


Send comments or suggestions to:
symmetrica (at) symmetrica

this page was automatically generated on So Aug 10 12:23:24 CEST 2008 on the machine btn6xa