Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: SetPrecision - What does in find?

  • To: mathgroup at
  • Subject: [mg48456] Re: SetPrecision - What does in find?
  • From: "Drago Ganic" <drago.ganic at>
  • Date: Mon, 31 May 2004 00:13:32 -0400 (EDT)
  • References: <c8kcs0$mpv$> <c8mumk$a4t$> <c944pq$r43$> <c96i11$ijt$>
  • Sender: owner-wri-mathgroup at

Does that mean that this holds for every real number:

SetPrecision[x, Infinity] ==
FromDigits[RealDigits[x, 2, Round[MachinePrecision*Log[10]/Log[2]]], 2]

SetPrecision[x,Infinity] should be documented !

Greeting from Croatia,
Drago Ganic

P.S.:  Round[MachinePrecision*Log[10]/Log[2]] stands (curently) for 53.

"Peltio" <peltio at> wrote in message
news:c96i11$ijt$1 at
> "Kazimir" wrote
> >> If you compute with infinite precision the sum of the (negative) powers
> >> of 2 corresponding to that expansion, you should get
> >>     1261007895663739 / 9007199254740992
> >However, I would not agree that one can say that it is an infinite
> >precision of 0.14  in usual sens.
> Right, in fact that result is the infinite precision version of the
> _truncated binary expansion_ of 0.14. Truncated at the 53rd bit of
> I was referrring to that with "that expansion".
> My sentence was not clear, sorry.
> cheers,
> Peltio
> Invalid address in reply-to. Crafty demunging required to mail me.

  • Prev by Date: Re: PlotRange
  • Next by Date: Re: Date format in Excel
  • Previous by thread: Re: SetPrecision - What does in find?
  • Next by thread: Filename in notebook windows limited to 8 chars