[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gcd of rationals--flame added in proof
- To: rwg%RUSSIAN.SPA.Symbolics.COM@GODOT, ALAN%SCRC-STONY-BROOK.ARPA@GODOT, fateman%ucbdali%UCB-VAX.ARPA@GODOT
- Subject: gcd of rationals--flame added in proof
- From: Guy Steele <godot!gls@AQUINAS>
- Date: Thu, 21 Feb 1985 20:25:00 -0000
- Cc: rem%MIT-MC.ARPA@GODOT, numerics%SCRC-STONY-BROOK.ARPA@GODOT, common-lisp%SU-AI.ARPA@GODOT, gls@AQUINAS
- In-reply-to: <850220015044.3.RWG@LOS-TRANCOS.SPA.Symbolics.COM>
The claim in the manual that (lcm) should be infinity is outright
wrong, as REM has already pointed out to me. Probably I was indeed
misled by the formula (/ (* x y) (gcd x y)); I cannot remember.
However, the statement is certainly my fault. I'm sorry. Maybe
in the next version of Common Lisp we can safely define (lcm) => 1,
as it will be a compatible extension.