1: // Author & Copyright : Peter Luschny
2: // Created: 2010-01-15
3: // License: LGPL version 2.1 or (at your option)
4: // Creative Commons Attribution-ShareAlike 3.0
5:
6: #ifndef SCHOENHAGE_H_
7: #define SCHOENHAGE_H_
8:
9: #include "lmp.h"
10:
11: class Schoenhage {
12: public:
13:
14: // Computes the factorial of an integer.
15: static void Factorial(Xint fact, ulong n);
16:
17: // Computes the factorial of an integer using threads.
18: static void ParallelFactorial(Xint fact, ulong n);
19: };
20:
21: #endif // SCHOENHAGE_H_