MathGroup Archive 2010

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

Search the Archive

Re: Precision of calculations


If Abs[f'[x]] > 1, then f[x] has LESS precision than x.

If x is machine precision, there's no tracking of that loss of precision,  
so you could end up with no meaningful digits without knowing it.

If x is "arbitrary precision", there IS tracking... but it tends to be  
pessimistic. You might lose precision (according to Mathematica) even  
though -1 < f'[x] < 1. In that case, you lose precision but shouldn't.

Bobby

On Tue, 27 Apr 2010 03:04:32 -0500, Jim Lambaugh <lambaugh at gmail.com>  
wrote:

> Hi guys
>
> When I write numbers in my code, I do it as (e.g.)
>
> 1.0
> 1000.0
> Pi //N
> etc...
>
> Is it correct to say that my calculations are done with machine-
> precision, i.e. with rougly 16 digit precision?
>
> Regards,
> Jim.
>


-- 
DrMajorBob at yahoo.com


  • Prev by Date: Re: Precision of calculations
  • Next by Date: How to disable Integrate[] ?
  • Previous by thread: Re: Precision of calculations
  • Next by thread: InputField Rounding Problem