Device Monitoring Studio - Monitor, log and analyze data coming through PC ports and connections
Download Device Monitoring Studio Hide this button

>> Right Shift Operator

This operator performs an arithmetic right shift of the first operand. The second operand specifies how many bits to shift.

Syntax:

exp1 >> exp2

Usage:

456 >> 3          // evaluates to 57
-100 >> 2         // evaluates to -25

This operator is not applicable to floating-point values.