MathGroup Archive 1995

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

Search the Archive

RealDigits


The function RealDigits[x, b] returns a list of two items.  For example,

RealDigits[Pi //N]
{{3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5, 8, 9, 7, 9, 3}, 1}

What is the inverse of this function?  That is, given the base b, a list
{...} of base b digits, and an interger n, how do we elegantly obtain x for
which RealDigits[x, b] = {{...},n}?

==================================
Samuel H. Cox
insshc at gsusgi2.gsu.edu
Department of Risk Management and Insurance
Georgia State University
PO Box 4036
Atlanta, GA 30302-4036
404-651-4854 (o)
404-651-4219 (f)



  • Prev by Date: Re: Base 10 to Base 2 conversion error ?
  • Next by Date: Searching for Files about ....
  • Previous by thread: [Help] Plot complex function.
  • Next by thread: Re: RealDigits