Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
bitwise logical AND operator ( & ) in Java Script
auvrm papu
Ranch Hand
Posts: 105
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is there a bitwise logical AND operator ( & ) in
Java
Script.
For example:
if ((x & (x − 1)) == 0){
}
Eric Pascarello
author
Posts: 15385
6
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Writing a
test
page or a simple Google Search would have gave you the answer:
http://www.google.com/search?q=JavaScript+bit+operators
Eric
auvrm papu
Ranch Hand
Posts: 105
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
thanks Eric..
I did try..before..and got an error..so I just wanted to verify...
just figured out that I had some other issues ...in the paranthesis..!
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Again? Please see my response to your other post regarding the mod operator.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
luby transformation
Conditional expression
operator precedence
~ and !
overloaded operators in java ?
More...