Anonymous

Not logged in

  • British English
  • Log in
GiderosMobile

Bit

From GiderosMobile

Namespaces

  • Page
  • Discussion

More

  • More
  • Languages

Page actions

  • Read
  • View source
  • History
Revision as of 15:18, 23 August 2018 by Hgy29 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Supported platforms: android, ios, mac, pc
Available since: Gideros 2013.09

Description

Provides bit based operations

Methods

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

Events

Constants

Retrieved from ‘https://wiki.gideros.rocks/index.php?title=Bit&oldid=5261’

Navigation

  • Main page
  • Recent changes
  • Random page
  • Help

Categories

► Lua API
► Main API
► Plugins

Wiki tools

Wiki tools

  • Special pages

Page tools

Page tools

    Userpage tools

      More

      • What links here
      • Related changes
      • Printable version
      • Permanent link
      • Page information
      • Page logs
      Powered by MediaWiki
      • This page was last modified on 17 March 2023, at 19:34.
      • Privacy policy
      • About GiderosMobile
      • Disclaimers