This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Renner
Recipients Renner
Date 2016-11-19.01:52:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479520368.98.0.185264707762.issue28744@psf.upfronthosting.co.za>
In-reply-to
Content
Simple code:
 print('%.55f' %(1.1 + 2.2 - 3.3))
 print('%.55f' %(1.1 + 2.2))
is supposed to produce
 0.0000000000000000000000000000000000000000000000000000000
 3.3000000000000000000000000000000000000000000000000000000
But when I run it, Actually it produces 
 0.0000000000000004440892098500626161694526672363281250000
 3.3000000000000002664535259100375697016716003417968750000

Found by chance...

python 3.5.2
sysname:'Darwin'
release:'15.6.0
version:'Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64')
History
Date User Action Args
2016-11-19 01:52:49Rennersetrecipients: + Renner
2016-11-19 01:52:48Rennersetmessageid: <1479520368.98.0.185264707762.issue28744@psf.upfronthosting.co.za>
2016-11-19 01:52:48Rennerlinkissue28744 messages
2016-11-19 01:52:48Rennercreate