Difference between revisions of "Bitwise Operators"
From GiderosMobile
Line 11: | Line 11: | ||
a<b> << </b>b   Bitwise shift 'a' by 'b' left.<br /> | a<b> << </b>b   Bitwise shift 'a' by 'b' left.<br /> | ||
a<b> >> </b>b   Bitwise shift 'a' by 'b' right.<br /> | a<b> >> </b>b   Bitwise shift 'a' by 'b' right.<br /> | ||
− | <b> ~ </b>a   Bitwise 'NOT a'.<br />{|- | + | <b> ~ </b>a   Bitwise 'NOT a'.<br /> |
+ | {|- | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Methods === | === Methods === |
Revision as of 10:04, 23 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2017.10
Description
Bitwise operators to manipulate numbers.
a | b Bitwise 'a OR b'.
a & b Bitwise 'a AND b'.
a ~ b Bitwise 'a XOR b'.
a << b Bitwise shift 'a' by 'b' left.
a >> b Bitwise shift 'a' by 'b' right.
~ a Bitwise 'NOT a'.
Methods |
EventsConstants |