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


Groups > comp.lang.python > #32962

accuracy problem in calculation

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <silideba@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.147
X-Spam-Level *
X-Spam-Evidence '*H*': 0.71; '*S*': 0.00; 'outputs': 0.16; 'skip:7 20': 0.16; 'subject:problem': 0.22; 'question': 0.27; 'message- id:@mail.gmail.com': 0.27; 'skip:( 40': 0.30; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'acceptable': 0.35; 'received:209.85': 0.35; 'should': 0.36; 'two': 0.37; 'received:209': 0.37; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'different': 0.63; 'increase': 0.72
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nYyeYyAC4SH9nZMDlrRu/YEB2OedAJQ8WtMTsHikG38=; b=gK1sx7sFl5v2WzgQ0XO8nxa00lqwtXt+r1NN3HO29ip+JRXhOmmnomBHO1VLpxE91h K42PFLEWe8iC4ZmrFNqilxOotc8pYK4fIqCjMnNNi7N/41RKxw7IU9NASSPJoI9AClhC V3L1izuaRoKJa+cchvvTYofRkLbAy/iLEY+BaSFeZLRvrQJurIQiDU9NX9pdeY+y1bXi SKqTPsOGOaLaL5fo+9ZcDmSvjpi6FfTRNP0s0riy/NzZxYQDmdn2okfkxfR26PVZ3lXm U+BLODFXqolY+AONFsrz0MqvPBoSprMyt5CIorvgObm8sosnSU1EAy8PA1RvsUo8tSHX 6JYA==
MIME-Version 1.0
Date Thu, 8 Nov 2012 22:35:40 +0530
Subject accuracy problem in calculation
From Debashish Saha <silideba@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3451.1352394347.27098.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1352394347 news.xs4all.nl 6848 [2001:888:2000:d::a6]:58380
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:32962

Show key headers only | View raw


(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)

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web