Edit History


Edit history of sicp-ex-1.18

RevTimeChangesOperations
Log
82016-03-01 09:17:13+1 -1 line(s)[View this version, source] [Diff to previous]
I think it's right to double a and halve (- b 1) when b is odd, in order to get strict logarithmic order of growth; otherwise, order of growth is worse than θ(log(n)).
72016-03-01 09:08:11+1 -1 line(s)[View this version, source] [Diff to current|previous]
undo my last change. (Notice it's passing `a' when `b' is odd.
62016-03-01 09:06:37+1 -1 line(s)[View this version, source] [Diff to current|previous]
corrected passing `(- b 1)' instead of `(halve (- b 1))' when b is odd.
52014-10-17 16:32:46+0 -11 line(s)[View this version, source] [Diff to current|previous]
The previous commit was just plain wrong.
42014-10-17 11:56:44+11 -0 line(s)[View this version, source] [Diff to current|previous]
Add alternative solution which uses lexical scoping
32012-12-19 07:49:34+1 -1 line(s)[View this version, source] [Diff to current|previous]
correct the halve function since the origin halve maybe return fact number
22010-03-25 22:51:22+2 -0 line(s)[View this version, source] [Diff to current|previous]
Added navigation
12008-06-24 14:30:03+24 -0 line(s)[View this version, source] [Diff to current|previous]
create solution page for SICP ex. 1.18
[Diff from epoch]