12 Sep 2008  Fixed missing boinc_init() call.
             Replaced fopen() with boinc_fopen() when BOINC defined.
             Added BUFFER_RESULTS option.
             Added REPORT_FREQUENCY option.

13 Sep 2008  Fixed printing of long long types in Windows. Use "%I64d".
             Checkpoint to AP26-state.txt instead of modifying AP26-ini.txt.

15 Sep 2008  Fixed progress reporting, account for K that do not get searched.
             Store REPORT_FREQUENCY in AP26-state.txt.
             Use a strong probable prime test in PrimeQ(N).
             Validate each term of reported APs using a stronger test.

16 Sep 2008  Reduce optimisation to -O1 for the x86_64 Windows executable.
             Use only first 9 prime bases for SPRP test validating APs.

17 Sep 2008  Check FPU mode and switch it to extended precision if necessary.
             Change optimisation level back to -O3 for x86_64 Windows.

18 Sep 2008  Added alternative inline asm syntax when _MSC_VER defined.
             Replace long long with int64_t etc. for pre-C99 compilers.
             Print progress messages only if boinc_is_standalone() is true.

20 Sep 2008  Fixed so that GMP routines are used when compiled with -DGMP.
             Print checkpoint message in BOINC, files are flushed then anyway.
             Added a program to validate the output file SOL-AP26.txt.

17 Oct 2008  Added Mark Rodenkirch's mulmod/expmod code for PPC64.

30 Dec 2008  Added an optional 4th argument LINEAR.
