<< (bitwise bit shift left) \ Language (API) \ Wiring ALPHA 1.0
Author: Hernando Barragán
Description: Wiring is an electronic sketchbook and hardware electronics for developing ideas. It is a context for learning fundamentals of computer programming and prototyping with electronics within the context of the electronic arts.
Keywords: Wiring, Processing, Interactive Media, Electronic Arts, Programming, C, C++, Hernando Barragán

Search wiring.org.co:

Reference for Wiring version 0023+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name | ### << (bitwise bit shift left)
Examples |
    unsigned int value=4;                //  4 = 0000 0100
    unsigned int shift=2;

    value = value << shift;        // 16 = 0001 0000
    value <<= shift;               // 64 = 0100 0000
Description | The left expressions value is moved left by the number of bits specified by the right expression.
Syntax |
    expression1 << expression2expression1 <<= expression2
Parameters |
expression1 | any valid expression
expression2 | any valid expression
Usage | Application
Related | & (bitwise AND) &= (bitwise AND and assign) | (bitwise OR) |= (bitwise OR and assign) ^ (bitwise XOR) ˜ (bitwise ones complement) >> (bitwise bit shift right)

Updated on November 17, 2009 11:08:34pm PST