Bitwise - Dictionary Definition and Overview

Bitwise : 

A bitwise operator treats its operands as a vector of bits rather than a single number. Boolean bitwise operators combine bit N of each operand using a Boolean_function_({NOT">Boolean function ({NOT, AND, OR, XOR) to produce bit N of the result.

For example, a bitwise AND operator ("&" in C) would evaluate 13 & 9 as (binary) 1101 & 1001 = 1001 = 9, whereas, the logical AND, ({C "&&") would evaluate 13 && 9 as TRUE && TRUE = TRUE = 1.

In some languages, e.g. Acorn's BASIC V, the same operators are used for both bitwise and logical operations. This usually works except when applying NOT to a value x which is neither 0 (false) nor -1 (true), in which case both x and (NOT x) will be non-zero and thus treated as TRUE.

Other operations at the bit level, which are not normally described as "bitwise" include shift and rotate.

(1995-05-12)



Example Usage of Bitwise

mirandapablo: nombres para el cuy, pensé en: darwin, mosby, chown, lesskey, foobar, root, setup, query, regex, unix, pecl, switch, var_dump, null,Bitwise
glenscales: #Exchange Posted a solution for returning CAS and Mailbox Role servers using a Bitwise Ldap query in VBS or PS http://tinyurl.com/y9awr2y
delicious50: http://theflashblog.com/bytearrays/ http://bit.ly/6abVEh as3 flash actionscript Bitwise bytearray
Copyright 2009 wordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us