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


Groups > comp.soft-sys.math.mathematica > #3597

Re: Numerical accuracy/precision - this is a bug or a feature?

From DrMajorBob <btreat1@austin.rr.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Numerical accuracy/precision - this is a bug or a feature?
Date 2011-07-08 09:09 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <iv6hgo$sch$1@smc.vnet.net> (permalink)

Show all headers | View raw


This happens in EVERY language that converts decimal (real) input to  
binary storage.

Binary storage is not mathematically required, but the result is MUCH  
faster code. Perhaps, at some point, we'll abandon this trade-off when  
computers are so fast that the gain in speed isn't worth the confusion.  
But that day isn't here, yet.

(Well. It is for ME, but not for a lot of other, very impatient people. If  
they can get a result in a second with decimal arithmetic, they'd rather  
have it in a microsecond with binary arithmetic, no matter WHAT the cost  
in confusion factors.)

Bobby

On Thu, 07 Jul 2011 06:31:49 -0500, slawek <slawek@host.pl> wrote:

>
> U=BFytkownik "Kevin J. McCann" <Kevin.McCann@umbc.edu> napisa=B3 w  
> wiadomo=B6ci
> grup dyskusyjnych:iv1a86$sji$1@smc.vnet.net...
>> 2.0 is not an integer nor a rational, it is machine precision. On the
>> other hand 2 is an integer and exact.
>
> The decimal fraction 2.0 is in mathematics (the science) exactly the  
> same as
> the sum 2 + 0/10
>
> The convention that 2.0 is less accurate than 2.00 is applied ONLY in
> Mathematica (the computer program).
>
>
>
>


-- 
DrMajorBob@yahoo.com

Back to comp.soft-sys.math.mathematica | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Numerical accuracy/precision - this is a bug or a feature? DrMajorBob <btreat1@austin.rr.com> - 2011-07-08 09:09 +0000
  Re: Numerical accuracy/precision - this is a bug or a feature? "slawek" <slawek@host.pl> - 2011-07-12 11:01 +0000
    Re: Numerical accuracy/precision - this is a bug or a feature? Richard Fateman <fateman@cs.berkeley.edu> - 2011-07-13 07:17 +0000

csiph-web