Major progress, multiply now almost works

There's a premature free() somewhere, and I'm not sure why.

Print depends on divide, which is easy, but also on mod and floor (of rationals) which isn't.
This commit is contained in:
Simon Brooke 2019-01-21 16:14:25 +00:00
parent 64fc43e9fc
commit 3fd322af6f
5 changed files with 287 additions and 144 deletions

View file

@ -5,4 +5,5 @@
((= x 1) n)
(t (* n (expt n (- x 1)))))))
(expt 2 60)
(inspect expt)
(expt 2 59)