MathGroup Archive 2003

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

Search the Archive

AW: Re: Politically incorrect response to Re: a bug in RealDigits? Mathematica 5.0

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45291] AW: [mg45286] Re: Politically incorrect response to Re: a bug in RealDigits? Mathematica 5.0
  • From: Klamser at t-online.de
  • Date: Mon, 29 Dec 2003 00:22:01 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

both is right.

If you calculate

1/3 * 6.4 -> 2.13333

% // Precision -> MachinePrecision

But

SetPrecision[2./3* 6.4, 100] ->
4.26666666666666660745477201999165117740631103515625`100.

You can see, that the `100 in the output 4.2...`100. shows, that the
precision of that number is 100.

The $MachinePrecision is 53*Subscript[log, 10]*2 an depend on the machine.

If you define a higher precision, it depends on the definition you use (and
the amount of memory, you have in your computer; and the amount of time you
have to wait for the result ;-) ).

Regards

Peter





-----Ursprüngliche Nachricht-----
Von: Harold Noffke [mailto:Harold.Noffke at wpafb.af.mil]
Gesendet: Sonntag, 28. Dezember 2003 11:11
An: mathgroup at smc.vnet.net
Betreff: [mg45286] Re: Politically incorrect response to Re: a bug in
RealDigits? Mathematica 5.0


AC:

Could you please elaborate on your comment ...

> Because MachinePrecision depends on the underlying hardware
> architecture, Mathematica programs are hardware dependent!

I had the notion that any problem could be set-up in Mathematica using
variables with arbitrary (user-specified) precision, but perhaps I
misunderstand the passage where I read this.

Please help me clarify this.

Harold


  • Prev by Date: Shortest path algorithm
  • Next by Date: Displaying NotebookML Using CSS
  • Previous by thread: AW: Re: Politically incorrect response to Re: a bug in RealDigits? Mathematica 5.0
  • Next by thread: Shortest path algorithm