Edit History


Edit history of sicp-ex-2.1

RevTimeChangesOperations
Log
72015-08-19 10:20:16+22 -0 line(s)[View this version, source] [Diff to previous]
Fixed bug with gcd sign
62015-07-19 08:46:42+1 -1 line(s)[View this version, source] [Diff to current|previous]
People who edit this code just before me said:"when it comes to two negatives,the gcd is negative,if we use the foreces denominator method,the g is postive,which makes the result still be two negatives.(/ n d)'s sign can do it." This is wrong. The gcd procedure always return a positive number (I tried this in mit-scheme and Racket with neil/sicp package). Therefore the version before last editing is right.
52015-07-07 03:01:06+3 -3 line(s)[View this version, source] [Diff to current|previous]
when it comes to two negatives,the gcd is negative,if we use the foreces denominator method,the g is postive,which makes the result still be two negatives.(/ n d)'s sign can do it.
42013-01-24 23:14:06+26 -4 line(s)[View this version, source] [Diff to current|previous]
add testing code
32010-01-04 12:09:20+5 -0 line(s)[View this version, source] [Diff to current|previous]
ADD: Navigation
22009-11-22 13:33:29+3 -0 line(s)[View this version, source] [Diff to current|previous]
Added category (r2q2)
12009-06-15 19:01:41+6 -0 line(s)[View this version, source] [Diff to current|previous]
2.1
[Diff from epoch]