diff options
author | Marvin Borner | 2024-12-27 21:56:23 +0100 |
---|---|---|
committer | Marvin Borner | 2024-12-27 21:56:23 +0100 |
commit | 785adecae39cd6d47bb50a37816fca88e608ac46 (patch) | |
tree | f2fe6e24ec3e896fe3f49f4c6b24370c081a8ec4 /lllars/fac.lll | |
parent | b41c0d95baf3f311ba562a0d165b5ee0d004d4e7 (diff) |
fac
Diffstat (limited to 'lllars/fac.lll')
-rw-r--r-- | lllars/fac.lll | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lllars/fac.lll b/lllars/fac.lll new file mode 100644 index 0000000..02bf90a --- /dev/null +++ b/lllars/fac.lll @@ -0,0 +1,17 @@ +!!! all rights reserved to lars <3 !!! + +lars initial values: @0 is n, @1 is result +0lars255 +1lars1 + +larslars loop +@lars +lars|sral 0 sral +1larssral1*sral0 +0larssral0-1 +srallars lars + +larslarslars end: print number +@sral +8159larssral1 +larssral |