From: Eero Saynatkari Date: 2006-10-01T00:11:08+09:00 Subject: Re: Integer division with / - request explanation of behavior --JLiXfqD9/Kt1b+Pq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2006.09.30 18:25, Paul Lutus wrote: > Wes Gamble wrote: >=20 > > Today I discovered the difference in the meaning of the / (arithmetic > > divide) method depending on whether it's caller is an integer or a > > float. >=20 > Not exactly. The result is expressed in the type of the more precise of t= he > two operands. Actually, integers are more precise than IEEE floating points since 2.2 - 1.2 !=3D 1.0 :) s/precise/accurate ! --JLiXfqD9/Kt1b+Pq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFHoiX7Nh7RM4TrhIRAiQLAJ0YGnQXyy0fvrFZFYEq7DvdvuqIlACfVnnL iBc+wxCB5ts9n4Daxulcp30= =DcDR -----END PGP SIGNATURE----- --JLiXfqD9/Kt1b+Pq--