[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: program to compute gears, with table

From: Emanuel Berg
Subject: Re: program to compute gears, with table
Date: Fri, 08 Sep 2017 19:52:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Skip Montanaro wrote:

> * Why the 1.0 divisor when computing gear?

As explained, otherwise it'll be integer
division. But I think that qualifies as a hack
(not an ugly hack tho) so there is no shame in
spotting it an "error" :)

> * You can skip the radius and use wheel
> (diameter) directly in computing
> the circumference.


> * It never occurred to me to do this in Lisp.
> I always just use an online calculator, like:

Let's agree there is no need to do it in Lisp.
Only a desire :)

underground experts united

reply via email to

[Prev in Thread] Current Thread [Next in Thread]