Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #32962 > unrolled thread

accuracy problem in calculation

Started byDebashish Saha <silideba@gmail.com>
First post2012-11-08 22:35 +0530
Last post2012-11-08 22:35 +0530
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  accuracy problem in calculation Debashish Saha <silideba@gmail.com> - 2012-11-08 22:35 +0530

#32962 — accuracy problem in calculation

FromDebashish Saha <silideba@gmail.com>
Date2012-11-08 22:35 +0530
Subjectaccuracy problem in calculation
Message-ID<mailman.3451.1352394347.27098.python-list@python.org>
(1500000000+1.00067968)-(1500000000+1.00067961)
Out[102]: 2.384185791015625e-07

1.00067968-(1.00067961)
Out[103]: 7.000000001866624e-08

above i am showing the two different results,though the two outputs
should be same if we do it in copy(the lass one is acceptable value).
so my question is how to increase the accuracy(windows7(32bit)
,python2.7.2)

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web