[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: program to compute gears, with table
From: |
tomas |
Subject: |
Re: program to compute gears, with table |
Date: |
Fri, 8 Sep 2017 13:27:50 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, Sep 08, 2017 at 06:09:30AM -0500, Skip Montanaro wrote:
[...]
> * Why the 1.0 divisor when computing gear?
because...
(/ 2 3) => 0
(/ 2 3 1.0) => 0.6666666666666666
(division defaults to integer division when all args are int)
As to the rest... I'll defer to Emmanuel :-)
Cheers
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEUEARECAAYFAlmyfrYACgkQBcgs9XrR2kZ7VwCfb/Q8fxCgdzAZoTDvv0x1oYOf
gHYAl2aPVP/v2vsz9f/DovXuOfWvYCg=
=UcUu
-----END PGP SIGNATURE-----
- program to compute gears, with table, Emanuel Berg, 2017/09/08
- Re: program to compute gears, with table, Graham, 2017/09/08
- Re: program to compute gears, with table, Skip Montanaro, 2017/09/08
- Re: program to compute gears, with table,
tomas <=
- Re: program to compute gears, with table, David Scheidt, 2017/09/08
- Message not available
- Re: program to compute gears, with table, Emanuel Berg, 2017/09/08
- Re: program to compute gears, with table, Joerg, 2017/09/08
- Re: program to compute gears, with table, David Scheidt, 2017/09/08
- Re: program to compute gears, with table, Emanuel Berg, 2017/09/08
- Re: program to compute gears, with table, Joerg, 2017/09/09
- Re: program to compute gears, with table, Emanuel Berg, 2017/09/09
- Re: program to compute gears, with table, David Scheidt, 2017/09/09