2016-11-30 17:43:20 +00:00
|
|
|
Change Log
|
|
|
|
==========
|
|
|
|
|
|
|
|
- v0.1: Initial release
|
|
|
|
- Basic prime calculation.
|
|
|
|
- Uses a growing vector of known primes and gets the modulus of the number divided by these primes.
|
2016-12-09 22:26:27 +00:00
|
|
|
- Uses type `long long' to hold prime numbers.
|
|
|
|
- v0.2: Multi-Precision
|
|
|
|
- Switch to C.
|
|
|
|
- Uses GNU Multiple Precision library (GMP) to hold prime numbers, allowing for 'infinite' size.
|
|
|
|
- Add `likely()' and `unlikely()' macros to optimize.
|
2016-12-10 13:54:12 +00:00
|
|
|
- v0.2.1: Memory Leak Fixes
|
|
|
|
- Fixed a major memory leak at the end of the program.
|
|
|
|
- Added more optimizers
|