robert-strandh / SICL

A fresh implementation of Common Lisp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Where's Greatest Common Divisor?

irigone opened this issue · comments

Where's GCD defined, if it is at all? I lurk here to learn Common Lisp, loving it. Sorry for the disturbance

We haven't defined that yet. It is going to be a function that
calls BINARY-GCD, and BINARY-GCD will be a generic function.
Initially, there will be a method specialized only to FIXNUM and FIXNUM,
as the algorithms on bignums are complicated and we need to study them
more.

Added in #209