• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Binary math operations (and, or, etc.)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binary math operations (and, or, etc.)


  • Subject: Re: Binary math operations (and, or, etc.)
  • From: Bill Briggs <email@hidden>
  • Date: Wed, 8 Jun 2005 13:30:15 -0300

At 10:53 AM -0400 6/8/05, Mark J. Reed wrote:
I believe that by "binary math" Stephen was referring to bitwise operations, as opposed to Boolean operations in the "zero is false" sense. Many languages have both; for instance in C and derivatives, && is logical AND (in which 1 && 2 == 1 because both 1 and 2 are nonzero and therefore true) while & is bitwise AND (in which 1 & 2 == 0 because 1 and 2 have no 1-bits in common).

Since these bitwise operations are how math is accomplished in binary, btw, I think calling them "binary math" is perfectly reasonable.

I'd say that was stretching the semantics a bit.

 - web
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Binary math operations (and, or, etc.) (From: Stephen Jonke <email@hidden>)
 >Re: Binary math operations (and, or, etc.) (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Binary math operations (and, or, etc.)
  • Next by Date: Re: Call idle handler many times - what happens?
  • Previous by thread: Re: Binary math operations (and, or, etc.)
  • Next by thread: Re: Binary math operations (and, or, etc.)
  • Index(es):
    • Date
    • Thread