Services & Resources / Wolfram Forums
MathGroup Archive
*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: Working with binaries

  • To: mathgroup at
  • Subject: [mg47998] Re: Working with binaries
  • From: Jean-Michel Collard <jm at>
  • Date: Wed, 5 May 2004 08:11:04 -0400 (EDT)
  • References: <c77u1i$2rq$>
  • Sender: owner-wri-mathgroup at

Luca wrote:
> Is it possible with mathematica to work with binaries? I did it in another
> system by typing: OutputBase := Binary. I was also trying to find the function
> NOT, i.e. that function which gives:
> !1 = 0
> !0 = 1
> I found in the help BitNot, but BitNot[1] gives me -2.
> Thanks for any advice.
> Luca

the mathematica book :

BitNot[n] returns -1-n


  • Prev by Date: Re: extracting function from the list
  • Next by Date: Goldbach partition points plot; "Cigar earned at last!"
  • Previous by thread: Re: Working with binaries
  • Next by thread: Re: Working with binaries