MathGroup Archive 2004

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

Search the Archive

RealDigits bug?

  • To: mathgroup at
  • Subject: [mg45793] RealDigits bug?
  • From: Enrique Zeleny <ezeleny at>
  • Date: Sun, 25 Jan 2004 03:04:47 -0500 (EST)
  • Sender: owner-wri-mathgroup at

This is wrong:

In[1]:= pisot = N[((1/3)*((1/2)*(27 + 3*Sqrt[69]))^(1/3) + (2/(27 +
3*Sqrt[69]))^(1/3))^27351, 6000];

In[2]:= pisot == FromDigits[RealDigits[pisot]]

Out[2]:= False

If you look at the value returned by RealDigits[pisot] contains three

Enrique Zeleny
Universidad Autonoma de Puebla

  • Prev by Date: FilledPlot with Implicit Functions?
  • Next by Date: Re: Plot Rendering
  • Previous by thread: Re: FilledPlot with Implicit Functions?
  • Next by thread: Re: RealDigits bug?