accuracy problem in calculation

Discussion in 'Python' started by Debashish Saha, Nov 8, 2012.

  1. (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)
     
    Debashish Saha, Nov 8, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Q2hhcmxlc0E=?=

    Accuracy and CSS

    =?Utf-8?B?Q2hhcmxlc0E=?=, Jan 16, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    672
  2. Hatzigiannakis Nikos

    Problem with accuracy in DEV C++

    Hatzigiannakis Nikos, Aug 5, 2008, in forum: C Programming
    Replies:
    10
    Views:
    510
    Dik T. Winter
    Aug 6, 2008
  3. Eric Wilhelm

    accuracy problem

    Eric Wilhelm, Nov 15, 2003, in forum: Perl Misc
    Replies:
    12
    Views:
    191
    Tassilo v. Parseval
    Nov 17, 2003
  4. Chris Angelico

    Re: accuracy problem in calculation

    Chris Angelico, Nov 8, 2012, in forum: Python
    Replies:
    1
    Views:
    165
    Grant Edwards
    Nov 8, 2012
  5. Dave Angel

    Re: accuracy problem in calculation

    Dave Angel, Nov 8, 2012, in forum: Python
    Replies:
    0
    Views:
    170
    Dave Angel
    Nov 8, 2012
Loading...

Share This Page