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?

Date 2012-03-06 16:53 -0800
From Westley Martínez <anikom15@gmail.com>
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>
Newsgroups comp.lang.python
Message-ID <mailman.451.1331081630.3037.python-list@python.org> (permalink)

Show all headers | 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