Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.