MathGroup Archive 1995

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

Search the Archive

Re: Bin <-> Decimal conversion

  • To: MATHGROUP at christensen.cybernetics.net
  • Subject: [mg402] Re: [mg395] Bin <-> Decimal conversion
  • From: Jerry Keiper <keiper>
  • Date: Thu, 12 Jan 1995 10:25:25 -0600

	> I am still looking for an efficient way to perform ToBin.

You might try

In[1]:= IntegerDigits[54, 2]

Out[1]= {1, 1, 0, 1, 1, 0}


Jerry B. Keiper
keiper at wri.com
Wolfram Research, Inc.


  • Prev by Date: RE Bin <-> Decimal conversion
  • Next by Date: Re: Problem with Contexts
  • Previous by thread: Bin <-> Decimal conversion
  • Next by thread: mma2html program