~fmac/f292

f292/README.md -rw-r--r-- 559 bytes
9f6a6c18 — Francesco Camuffo Rename README -> README.md 7 months ago

#f292

C implementation of the Prime-Representing Constant (A function that represents all primes). Also knows as 2.920050977316134712092562917112019.


Uses GMP to handle big floating point numbers.


#Build

gcc main.c -lgmp -o f292
./f292

#Usage

f292 [-n <count>] [-p <precision>]

Options:

    -n  number of primes to generate

    -p  number of bits of precision to be set with mpf_set_default_prec