Lily Carpenter лет назад: 9
Родитель
Сommit
15d2ed6fbc
2 измененных файлов с 28 добавлено и 0 удалено
  1. 27 0
      chapter-1/euclid.lisp
  2. 1 0
      chapter-1/notes.org

Разница между файлами не показана из-за своего большого размера
+ 27 - 0
chapter-1/euclid.lisp


+ 1 - 0
chapter-1/notes.org

@@ -1,4 +1,5 @@
1 1
 * Euclid's algorithm (Page 2-9)
2
+** Calculates the greatest common divisor of two numbers.
2 3
 ** Definition
3 4
 *** E0. [Ensure m >= n.] If m < n, exchange m <-> n.
4 5
 *** E1. [Find remainder.] Divide m by n and let r be the remainder.