IEEE 754

John W. Baxter jwbnews at scandaroon.com
Mon Jul 24 21:24:56 EDT 2000


In article <slrn8npp56.n29.wtanksle at dolphin.openprojects.net>, 
wtanksley at bigfoot.com wrote:

> > - You mean I may someday be able to put aside my answers to the "why 
> > - doesn't 2/10 print as 0.2 as we all know it should?" sorts of 
> > questions?
> 
> I'm not sure whether you mean that 2/10.0 isn't exactly 0.2, or whether
> 2/10 is 0.

Sorry, I meant the former, but of course forgot to say 2.0/10 or 2/10.0 
(as I've been known to do in real code).

  --John

-- 
John W. Baxter   Port Ludlow, WA USA  jwbnews at scandaroon.com



More information about the Python-list mailing list