Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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

RealDigits bug?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45793] RealDigits bug?
  • From: Enrique Zeleny <ezeleny at fismat1.fcfm.buap.mx>
  • Date: Sun, 25 Jan 2004 03:04:47 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com


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
10's!!!


Enrique Zeleny
Universidad Autonoma de Puebla
Mexico


  • 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?