´

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.de

this page was automatically generated on So Jan 4 10:35:30 CET 2009 on the machine btn6xf

University of Bayreuth -