From ac0a1ea7dabaee1b986927efb25e94a3a091fff5 Mon Sep 17 00:00:00 2001 From: Raphael McSinyx Date: Mon, 13 Feb 2017 10:29:05 +0700 Subject: Update others/volume1 --- others/volume1/cmath.pas | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'others/volume1/cmath.pas') diff --git a/others/volume1/cmath.pas b/others/volume1/cmath.pas index 9f4f1f5..67b22a5 100644 --- a/others/volume1/cmath.pas +++ b/others/volume1/cmath.pas @@ -4,6 +4,28 @@ unit cmath; interface const + factorial: array[1..20] of uint64 = ( + 1, + 2, + 6, + 24, + 120, + 720, + 5040, + 40320, + 362880, + 3628800, + 39916800, + 479001600, + 6227020800, + 87178291200, + 1307674368000, + 20922789888000, + 355687428096000, + 6402373705728000, + 121645100408832000, + 2432902008176640000 + ); fibonacci: array[1..93] of uint64 = ( 1, 1, -- cgit 1.4.1