Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
bitwise
- Page 1
Bitwise operators
Programming
Software Development
14 Years Ago
by imolorhe
What are the possible uses of the
bitwise
operators. i.e.
bitwise
AND,
bitwise
OR,
bitwise
XOR, shift right, shift left and complement. Also, what are the applications of
bitwise
operators in everyday problem solving. Examples would be nice. Thanks in advance
Re: Bitwise operators
Programming
Software Development
14 Years Ago
by Clinton Portis
… operations at the assembly level use
bitwise
operations. Here are just a few uses of
bitwise
operations that I can think of…. [*]some data compression techniques (I believe the Huffman algorithm) use
bitwise
operations. [/LIST] If you want a simple homework assignment, try…
Bitwise and Logical Operators
Programming
Software Development
12 Years Ago
by GeekTool
…think i could not totally understand the diffefence between
bitwise
and logical operands. According to the book i … this is described as side effect. Also, in
bitwise
operands, both of the sides are evaluated. that …. However, aafter this point the book gives another example for
bitwise
or (|). (birthday == true) | (++age>= 65) // here,…
Re: Bitwise operators
Programming
Software Development
14 Years Ago
by imolorhe
… when to use the logical operators, I read about the
bitwise
operators, but i saw a question that had to do… with on and off switches and the solution contained
bitwise
operators which, from what i have read about it, has…
Re: Bitwise operators
Programming
Software Development
14 Years Ago
by Fbody
…. One common use is to use bit shifts and the
bitwise
logicals to condense several of these types of values into…
Re: bitwise operations and masking
Programming
Software Development
20 Years Ago
by Narue
… the logical AND and logical OR rather than the
bitwise
AND and
bitwise
OR. The logical operators are && and ||, and… the
bitwise
operators are & and |. >It just wont work! Correct. …
Re: Bitwise and Logical Operators
Programming
Software Development
12 Years Ago
by TrustyTony
… should have been and (&& only would work, not
bitwise
`&` here) to mean "if it is birthday, increase…
Re: Bitwise and Logical Operators
Programming
Software Development
12 Years Ago
by TrustyTony
… the two plusses before the statement. If the operation is
bitwise
, the increment happens in every case and age is allways…
Re: Bitwise and Logical Operators
Programming
Software Development
12 Years Ago
by GeekTool
… the two plusses before the statement. If the operation is
bitwise
, the increment happens in every case and age is allways…
Bitwise Encoding
Programming
Software Development
15 Years Ago
by llemes4011
… file, and (for simplicity's sake) I was considering using
bitwise
operators to pack it all into a single hex or… dec number. I've never user
bitwise
operators, as they really confuse me. If anyone has any…
Bitwise operations and binary conversion
Programming
Software Development
14 Years Ago
by hag++
… to converting between Dec/Bin/Hex as well as performing
bitwise
operations, I have never really been able to retain the… intuitive reading about converting between the three and also mastering
bitwise
operations. I know this is something that is covered in…
Re: Bitwise operations and binary conversion
Programming
Software Development
14 Years Ago
by embooglement
… of: [URL="http://www.learncpp.com/cpp-tutorial/38-
bitwise
-operators/"]http://www.learncpp.com/cpp-tutorial/38…-
bitwise
-operators/[/URL] Hopefully this cleared things up, though admittedly the …
Re: bitwise operations and masking
Programming
Software Development
20 Years Ago
by Dave Sinkula
[QUOTE=mr_mooz]So how can I get round that? when i use just & or | i get an error.[/QUOTE]You want to
bitwise
AND or
bitwise
OR two floating point values? The result may not be a number even if you were able to combine the bits of each object.
bitwise operations and masking
Programming
Software Development
20 Years Ago
by mr_mooz
… a complete float. Any ideas on how to do the
bitwise
and with floats?? It just wont work! Cheers.
bitwise operations in C
Programming
Software Development
19 Years Ago
by YoTaMiX
…<=7) . then to add up to the number in
bitwise
a 1 in the place of the index : if number…
Re: bitwise operations in C
Programming
Software Development
19 Years Ago
by Dave Sinkula
[url=http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1042834793&id=1043284351]Bit shifting and
bitwise
operations[/url]
Bitwise: Convert Primitives
Programming
Software Development
18 Years Ago
by Cudmore
… a short value to a 2-byte byte array using
bitwise
operators. [U]Let's test it out:[/U] 0 yields…
Bitwise operators/ undefined and implementation-defined?
Programming
Software Development
18 Years Ago
by JoBe
… mind: 1) Exc_6_4) Wrote a table of values for the
bitwise
logical operators and was wondering if any of you could…
Re: Bitwise: Convert Primitives
Programming
Software Development
17 Years Ago
by Zork'nPalls
The
bitwise
functions only operate on integers. When you wrote data[0] | …
bitwise stuff
Programming
Software Development
15 Years Ago
by slatk3y
Hello, I have a question about
bitwise
operators, especially shifting. Suppose we have: [code=C++] #include <…
Bitwise Operators and other things (need help)
Programming
Software Development
14 Years Ago
by err1100
…'m still completely clueless. Also, I'm very new to
bitwise
operators and could use some explanation. Thanks, err1100
Re: Bitwise Operators and other things (need help)
Programming
Software Development
14 Years Ago
by err1100
Ah. Thank you. The code makes a lot more sense now. Sorry for not clarifying this before, but I have one more question: This code was brought up in the context of returning all possible sub multi-sets of a list x, so what does the
bitwise
comparison have to do with that? Thanks so much for all of your prompt responses, err1100
bitwise operator
Programming
Computer Science
14 Years Ago
by stephy1
let us take a=4 and b=8 what the
bitwise
operator do for a|b?
Bitwise Conversion
Programming
Software Development
14 Years Ago
by coding101
How can I convert an unsigned int to a signed int using only
bitwise
operators?
Bitwise math
Programming
Software Development
13 Years Ago
by skatamatic
I am trying to remember a bit of
bitwise
math to deal with some CAN bus stuff in c#. …
Re: Bitwise AND
Programming
Software Development
20 Years Ago
by iamhe
…, any nonzero value is true in a bool, so a
bitwise
AND wouldn't necessarily evaluate to true... and I shouldn…'t have tried using a
bitwise
op for boolean algebra. (Incidentally I settled on): running_result = running_result…
Re: Bitwise AND
Programming
Software Development
20 Years Ago
by Chainsaw
… first statements uses logical and (&&) the second uses
bitwise
and (&), so you might try using '&&=' in…
Re: Bitwise AND
Programming
Software Development
20 Years Ago
by Dave Sinkula
[QUOTE=Chainsaw]the first statements uses logical and (&&) the second uses
bitwise
and (&), so you might try using '[color=Red]&&=[/color]' in the second statement.[/QUOTE]There is no such critter: [font=Courier New]'[/font][font=Courier New][color=Red]&&=[/color][/font][font=Courier New]'[/font].
Re: Signed saturated addition with only bitwise operations
Programming
Software Development
14 Years Ago
by rubberman
Bitwise
operations: multiply by 2 == <<1 divide by 2 == &…
Re: Bitwise operators
Programming
Software Development
21 Years Ago
by Dante Shamest
… of the time you don't need to use the
bitwise
operations. The only time I've had to operate with… and transparency, I had to use masking and it involved
bitwise
knowledge.
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC