MathGroup Archive 1999

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

Search the Archive

precision of floating-point-numbers


Hi,

can anybody tell me how $MinPrecision works.
If I set $MinPrecision=100 and type:
[In] 1. - 1.*10^-20
i get
[Out] 1.
If I type 
[In] SetPrecision[1., 100]-SetPrecision[1., 100]*10^-20
i get
[Out]
0.9999999999999999999900000000000000000000000000000000000000000000000000000000000000000000000000000000

I want to set all calculation to minimum precision, how can I do this?

Thank You
Martin Stockhammer


  • Prev by Date: Re: Automatic Display in MatrixForm
  • Next by Date: Re: Q: Simple? 3D Plotting Problems
  • Previous by thread: Re: Simple? 3D Plotting Problems
  • Next by thread: recovering corrupted notebook (Re: Please Help)