Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: beauty or accuracy

  • To: mathgroup at smc.vnet.net
  • Subject: [mg103875] Re: [mg103858] beauty or accuracy
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Sat, 10 Oct 2009 07:08:58 -0400 (EDT)
  • References: <200910091118.HAA26029@smc.vnet.net>
  • Reply-to: drmajorbob at yahoo.com

In Mathematica, the result is accurate, but the default display is 6  
digits.

42500-1907.25
%//FullForm

40592.8
40592.75`

Bobby

On Fri, 09 Oct 2009 06:18:05 -0500, Li Zhengji <zhengji.li at gmail.com>  
wrote:

> Hi all,
>
> 42500 - 1907.25 = 40592.8  
> (http://www.wolframalpha.com/input/?i=42500+-+1907.25)
>
> I do believe that it is because Mathematica "thinks" it's *better* to
> limit the result to six digits, so 0.75 is rounded to 0.8.
>
> But, don't you think that the result is a little strange, or inaccurate?
>


-- 
DrMajorBob at yahoo.com


  • Prev by Date: Re: beauty or accuracy
  • Next by Date: Re: beauty or accuracy
  • Previous by thread: beauty or accuracy
  • Next by thread: Re: beauty or accuracy