Difference between revisions of "Bit"

From GiderosMobile
(deprecated plugin since gideros 2022.1)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
 
 
<!-- GIDEROSOBJ:bit -->
 
<!-- GIDEROSOBJ:bit -->
'''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/>
+
'''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/>
'''<translate>Available since</translate>:''' Gideros 2013.09<br/>
+
'''Available since:''' Gideros 2013.09<br/>
=== <translate>Description</translate> ===
+
 
<translate>Provides bit based operations</translate>
+
=== Description ===
 +
 
 +
'''<big>THIS PLUGIN IS DEPRECATED SINCE GIDEROS 2022.1</big>'''
 +
 
 +
Provides bit based operations.
 +
 
 
{|-
 
{|-
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== <translate>Methods</translate> ===
+
=== Methods ===
[[Special:MyLanguage/bit.arshift|bit.arshift]] ''<translate>Returns the bitwise arithmetic right-shift</translate>''<br/><!-- GIDEROSMTD:bit.arshift(x,n) Returns the bitwise arithmetic right-shift -->
+
[[bit.arshift]] ''returns the bitwise arithmetic right-shift''<br/><!-- GIDEROSMTD:bit.arshift(x,n) Returns the bitwise arithmetic right-shift -->
[[Special:MyLanguage/bit.band|bit.band]] ''<translate>Returns the bitwise and of its argument.</translate>''<br/><!-- GIDEROSMTD:bit.band(x1,x2) Returns the bitwise and of its argument. -->
+
[[bit.band]] ''returns the bitwise and of its argument.''<br/><!-- GIDEROSMTD:bit.band(x1,x2) Returns the bitwise and of its argument. -->
[[Special:MyLanguage/bit.bnot|bit.bnot]] ''<translate>Returns the bitwise not of its argument.</translate>''<br/><!-- GIDEROSMTD:bit.bnot(x) Returns the bitwise not of its argument. -->
+
[[bit.bnot]] ''returns the bitwise not of its argument.''<br/><!-- GIDEROSMTD:bit.bnot(x) Returns the bitwise not of its argument. -->
[[Special:MyLanguage/bit.bor|bit.bor]] ''<translate>Returns the bitwise or of its argument.</translate>''<br/><!-- GIDEROSMTD:bit.bor(x1,x2) Returns the bitwise or of its argument. -->
+
[[bit.bor]] ''returns the bitwise or of its argument.''<br/><!-- GIDEROSMTD:bit.bor(x1,x2) Returns the bitwise or of its argument. -->
[[Special:MyLanguage/bit.bswap|bit.bswap]] ''<translate>Swaps the bytes of its argument and returns it</translate>''<br/><!-- GIDEROSMTD:bit.bswap(x) Swaps the bytes of its argument and returns it -->
+
[[bit.bswap]] ''swaps the bytes of its argument and returns it''<br/><!-- GIDEROSMTD:bit.bswap(x) Swaps the bytes of its argument and returns it -->
[[Special:MyLanguage/bit.bxor|bit.bxor]] ''<translate>Returns the bitwise xor of its argument.</translate>''<br/><!-- GIDEROSMTD:bit.bxor(x1,x2) Returns the bitwise xor of its argument. -->
+
[[bit.bxor]] ''returns the bitwise xor of its argument.''<br/><!-- GIDEROSMTD:bit.bxor(x1,x2) Returns the bitwise xor of its argument. -->
[[Special:MyLanguage/bit.lshift|bit.lshift]] ''<translate>Returns the bitwise logical left-shift</translate>''<br/><!-- GIDEROSMTD:bit.lshift(x,n) Returns the bitwise logical left-shift -->
+
[[bit.lshift]] ''returns the bitwise logical left-shift''<br/><!-- GIDEROSMTD:bit.lshift(x,n) Returns the bitwise logical left-shift -->
[[Special:MyLanguage/bit.rol|bit.rol]] ''<translate>Returns the bitwise left rotation</translate>''<br/><!-- GIDEROSMTD:bit.rol(x,n) Returns the bitwise left rotation -->
+
[[bit.rol]] ''returns the bitwise left rotation''<br/><!-- GIDEROSMTD:bit.rol(x,n) Returns the bitwise left rotation -->
[[Special:MyLanguage/bit.ror|bit.ror]] ''<translate>Returns the bitwise right rotation</translate>''<br/><!-- GIDEROSMTD:bit.ror(x,n) Returns the bitwise right rotation -->
+
[[bit.ror]] ''returns the bitwise right rotation''<br/><!-- GIDEROSMTD:bit.ror(x,n) Returns the bitwise right rotation -->
[[Special:MyLanguage/bit.rshift|bit.rshift]] ''<translate>Returns the bitwise logical right-shift</translate>''<br/><!-- GIDEROSMTD:bit.rshift(x,n) Returns the bitwise logical right-shift -->
+
[[bit.rshift]] ''returns the bitwise logical right-shift''<br/><!-- GIDEROSMTD:bit.rshift(x,n) Returns the bitwise logical right-shift -->
[[Special:MyLanguage/bit.tobit|bit.tobit]] ''<translate>Normalizes a number to the numeric range for bit operations</translate>''<br/><!-- GIDEROSMTD:bit.tobit(x) Normalizes a number to the numeric range for bit operations -->
+
[[bit.tobit]] ''normalizes a number to the numeric range for bit operations''<br/><!-- GIDEROSMTD:bit.tobit(x) Normalizes a number to the numeric range for bit operations -->
[[Special:MyLanguage/bit.tohex|bit.tohex]] ''<translate>Converts its first argument to a hex string.</translate>''<br/><!-- GIDEROSMTD:bit.tohex(x,n) Converts its first argument to a hex string. -->
+
[[bit.tohex]] ''converts its first argument to a hex string.''<br/><!-- GIDEROSMTD:bit.tohex(x,n) Converts its first argument to a hex string. -->
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== <translate>Events</translate> ===
+
=== Events ===
=== <translate>Constants</translate> ===
+
=== Constants ===
 
|}
 
|}
  
 
{{GIDEROS IMPORTANT LINKS}}
 
{{GIDEROS IMPORTANT LINKS}}

Revision as of 19:48, 18 September 2022

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
Available since: Gideros 2013.09

Description

THIS PLUGIN IS DEPRECATED SINCE GIDEROS 2022.1

Provides bit based operations.

Methods

bit.arshift returns the bitwise arithmetic right-shift
bit.band returns the bitwise and of its argument.
bit.bnot returns the bitwise not of its argument.
bit.bor returns the bitwise or of its argument.
bit.bswap swaps the bytes of its argument and returns it
bit.bxor returns the bitwise xor of its argument.
bit.lshift returns the bitwise logical left-shift
bit.rol returns the bitwise left rotation
bit.ror returns the bitwise right rotation
bit.rshift returns the bitwise logical right-shift
bit.tobit normalizes a number to the numeric range for bit operations
bit.tohex converts its first argument to a hex string.

Events

Constants