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

Re: RealDigits bug?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45822] Re: RealDigits bug?
  • From: drbob at bigfoot.com (Bobby R. Treat)
  • Date: Mon, 26 Jan 2004 01:53:30 -0500 (EST)
  • References: <bv00g1$je7$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I don't know whether the equality should be true, but it's very clear
that 10 isn't a base-10 digit!

Frequencies[First[RealDigits[
    pisot]]]
{{2086, 0}, {422, 1}, 
  {427, 2}, {434, 3}, 
  {467, 4}, {444, 5}, 
  {452, 6}, {447, 7}, 
  {437, 8}, {381, 9}, {3, 10}}

Bobby

Enrique Zeleny <ezeleny at fismat1.fcfm.buap.mx> wrote in message news:<bv00g1$je7$1 at smc.vnet.net>...
> 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: Re: typesetting fractions
  • Next by Date: RE: FilledPlot with Implicit Functions?
  • Previous by thread: RealDigits bug?
  • Next by thread: Re: RealDigits bug?