Difference between revisions of "Bitwise Operators"
From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2017.10<br/> === Description === <br /> Bitwise operators to manipulate numbers.<br /><br /> a<b> |...") |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Supported platforms:''' <br/> | + | '''Supported platforms:''' android, ios, mac, pc<br/> |
'''Available since:''' Gideros 2017.10<br/> | '''Available since:''' Gideros 2017.10<br/> | ||
=== Description === | === Description === | ||
Line 12: | Line 12: | ||
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%;"| |
Revision as of 08:57, 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 |