Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Bitwise operation
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Computer science topic}} {{more citations needed|date=August 2018}} {{use dmy dates|date=August 2018|cs1-dates=y}} In [[computer programming]], a '''bitwise operation''' operates on a [[bit string]], a [[bit array]] or a [[binary numeral]] (considered as a bit string) at the level of its individual [[bit]]s. It is a fast and simple action, basic to the higher-level arithmetic operations and directly supported by the [[central processing unit|processor]]. Most bitwise operations are presented as two-operand instructions where the result replaces one of the input operands. On simple low-cost processors, typically, bitwise operations are substantially faster than division, several times faster than multiplication, and sometimes significantly faster than addition. While modern processors usually perform addition and multiplication just as fast as bitwise operations due to their longer [[instruction pipeline]]s and other [[computer architecture|architectural]] design choices, bitwise operations do commonly use less power because of the reduced use of resources.<ref>{{cite web|url=http://cmicrotek.com/wordpress_159256135/|title=CMicrotek Low-power Design Blog|access-date=12 August 2015|publisher=CMicrotek}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)