This math scares me

John W. Baxter jwbnews at scandaroon.com
Mon Mar 12 22:05:04 EST 2001


In article <3aad4485.2348499 at News.CIS.DFN.DE>, costas at springmail.com 
wrote:

> Joking aside, this should be fixed to display the number correctly. If
> I use 'print 5.01+5.54" then it gives the result correctly. It seems
> to happen only if you type it in the command line without a print
> command.

Many of us feel that the present truthful display is correct, and the 
former (before Python 2) display of 10.55 was wrong because it was a lie 
(some don't feel quite *that* strongly about it but still prefer the new 
form).

  --John

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



More information about the Python-list mailing list