diff options
author | Raphael McSinyx <vn.mcsinyx@gmail.com> | 2017-02-13 10:29:05 +0700 |
---|---|---|
committer | Raphael McSinyx <vn.mcsinyx@gmail.com> | 2017-02-13 10:29:05 +0700 |
commit | ac0a1ea7dabaee1b986927efb25e94a3a091fff5 (patch) | |
tree | 5765f412d59d73303c2ec981da4c4e1ef073bb99 /others/volume1/cmath.pas | |
parent | 36461ea5c65fcdf7169abdb39549ef53a15d4f03 (diff) | |
download | cp-ac0a1ea7dabaee1b986927efb25e94a3a091fff5.tar.gz |
Update others/volume1
Diffstat (limited to 'others/volume1/cmath.pas')
-rw-r--r-- | others/volume1/cmath.pas | 22 |
1 files changed, 22 insertions, 0 deletions
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, |