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


Groups > comp.lang.python > #21295

Re: are int, float, long, double, side-effects of computer engineering?

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <anikom15@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.069
X-Spam-Evidence '*H*': 0.86; '*S*': 0.00; 'languages,': 0.03; 'classes.': 0.05; 'posting.': 0.07; 'am,': 0.12; 'argument': 0.15; '"computer': 0.16; '>also,': 0.16; '>what': 0.16; 'formats,': 0.16; 'subject: \n ': 0.16; 'subject:engineering': 0.16; 'language': 0.16; 'extension': 0.17; 'wrote:': 0.18; "they've": 0.18; 'community,': 0.19; 'programming': 0.20; 'java': 0.21; 'memory': 0.21; 'maybe': 0.21; 'header:In-Reply-To:1': 0.22; 'feature.': 0.23; 'fine': 0.24; 'code,': 0.28; "i'm": 0.28; 'introductory': 0.29; 'true,': 0.29; 'problem': 0.29; 'precision': 0.30; 'subject:?': 0.31; 'programmers': 0.32; 'scientific': 0.32; 'tue,': 0.32; 'there': 0.33; 'this.': 0.33; 'header:User-Agent:1': 0.33; 'it.': 0.33; 'lee': 0.34; 'from:charset:iso-8859-1': 0.35; 'to:addr:python-list': 0.35; 'standards': 0.35; 'issue': 0.37; 'but': 0.37; 'charset:us-ascii': 0.37; 'received:google.com': 0.37; 'spread': 0.38; 'received:209.85': 0.38; 'some': 0.38; "i'd": 0.39; 'received:209': 0.39; 'application': 0.40; 'point': 0.40; 'raw': 0.40; 'to:addr:python.org': 0.40; 'type': 0.61; 'your': 0.61; 'double': 0.61; 'increase': 0.62; 'projects': 0.63; 'auto': 0.63; 'billion': 0.73; 'learned': 0.73; 'automatic': 0.74; 'concept': 0.74; 'lose': 0.84; '-0500,': 0.84; '01:34': 0.84; 'calvin': 0.84; 'experienced,': 0.84; 'stunned': 0.84; 'xah': 0.84; 'subject:long': 0.93; 'afford': 0.95
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=wC2bw3h4barbTxNXPwkK0IMQlry6Qhe1u4tzS7pAWxI=; b=Oy3dbcf1WLZy1NX0M3ZFN5jA4qYjTPuMjb3k+rWP5sexW5iWs3TtbY6F9/yBSbV49M ErnC2B3+pIn+vDDvMX1kXxrcmL+IjdVXS2OzXik/1M14fRkf9NMFOxxyc6CrA6MhRNgO pPOvRQ9pzOw9cCVxZg1KQw9LUg/uzu+I4odGG76tUb8+x6XTeHNbSJeAce93nePdHVQQ Uz5wHgh1Mvt9Ca3bfWJLogKcEPbaGsYJNHastg69ntNw02PzGywQtNnnFw6bBZwDqH/p KxQDcVaEjC8wQ589ihSkQA3k/FqToeZQ7gNK3n11FrrspDZm8l2WzYt5OYE8gQaK7KJ5 UdBw==
Date Tue, 6 Mar 2012 16:53:43 -0800
From Westley Martínez <anikom15@gmail.com>
To python-list@python.org
Subject Re: are int, float, long, double, side-effects of computer engineering?
References <5aaded58-af09-41dc-9afd-56d7b7ced239@d7g2000pbl.googlegroups.com> <mr7bl7p2gjmll5jm419sqmgshlc88n6sed@4ax.com> <f02aea4e-827b-47b8-ba09-f06f7f8dc4a6@x5g2000pbl.googlegroups.com> <4F5681A6.9090707@calvinkim.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <4F5681A6.9090707@calvinkim.org>
User-Agent Mutt/1.5.21 (2010-09-15)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.451.1331081630.3037.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1331081630 news.xs4all.nl 6880 [2001:888:2000:d::a6]:56862
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:21295

Show key headers only | View raw


On Tue, Mar 06, 2012 at 04:29:10PM -0500, Calvin Kim wrote:
> On 03/06/2012 01:34 AM, Xah Lee wrote:
> >while what you said is true, but the problem is that 99.99% of
> >programers do NOT know this. They do not know Mathematica. They've
> >never seen a language with such feature. The concept is alien. This is
> >what i'd like to point out and spread awareness.
> >
> I can see your point. But that's not simply true. In my case and
> many others, such issue was addressed during first week of
> introductory programming classes. I was naively thought "computer =
> precision" and I was stunned to find out the inaccuracy of computer
> calculations.
> 
> But as you experienced, I also stumble upon some people (specially
> Java only programmers) who were not aware of it.
> 
> >also, argument about raw speed and fine control vs automatic
> >management, rots with time. Happened with auto memory management,
> >managed code, compilers, auto type conversion, auto extension of
> >array, auto type system, dynamic/scripting languages, etc.
> Maybe it's because I'm not in scientific community, that I learned
> to live with such side-effects. Because 99.99% of computer users and
> programmers can afford to, and willing to lose such small inaccuracy
> billion times in exchange for some performance increase and
> convenience. Although NASA may not accept my application for their
> projects for Mars mission after this posting.

Also remember that double precision is not the maximum.  There exist
standards for triple and quadruple precision formats, as well as other
extended formats.

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


Thread

are int, float, long, double, side-effects of computer engineering? Xah Lee <xahlee@gmail.com> - 2012-03-05 17:11 -0800
  Re: are int, float, long, double, side-effects of computer engineering? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-03-06 02:14 +0000
  Re: are int, float, long, double, side-effects of computer engineering? Westley Martínez <anikom15@gmail.com> - 2012-03-05 19:17 -0800
  Re: are int, float, long, double, side-effects of computer engineering? Tim Roberts <timr@probo.com> - 2012-03-05 21:26 -0800
    Re: are int, float, long, double, side-effects of computer engineering? Xah Lee <xahlee@gmail.com> - 2012-03-05 22:34 -0800
      Re: are int, float, long, double, side-effects of computer engineering? "Russ P." <russ.paielli@gmail.com> - 2012-03-06 00:02 -0800
      Re: are int, float, long, double, side-effects of computer engineering? Chiron <chiron613.no.spam.@no.spam.please.gmail.com> - 2012-03-06 10:10 +0000
        Re: are int, float, long, double, side-effects of computer engineering? Roy Smith <roy@panix.com> - 2012-03-06 08:49 -0500
      Re: are int, float, long, double, side-effects of computer engineering? Calvin Kim <reader@calvinkim.org> - 2012-03-06 16:29 -0500
      Re: are int, float, long, double, side-effects of computer engineering? Westley Martínez <anikom15@gmail.com> - 2012-03-06 16:53 -0800
      Re: are int, float, long, double, side-effects of computer engineering? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-03-06 21:51 -0500
      RE: are int, float, long, double, side-effects of computer engineering? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-07 19:05 +0000
  Re: are int, float, long, double, side-effects of computer engineering? Chiron <chiron613.no.spam.@no.spam.please.gmail.com> - 2012-03-06 10:00 +0000
  Re: are int, float, long, double, side-effects of computer engineering? rusi <rustompmody@gmail.com> - 2012-03-06 19:25 -0800
    Re: are int, float, long, double, side-effects of computer engineering? "Russ P." <russ.paielli@gmail.com> - 2012-03-07 14:02 -0800
      Re: are int, float, long, double, side-effects of computer engineering? John Nagle <nagle@animats.com> - 2012-03-13 22:32 -0700
  Re: are int, float, long, double, side-effects of computer engineering? Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-03-13 10:40 +0000

csiph-web