Difference between revisions of "Bit (API)"
From ComputerCraft Wiki
(added function links) |
|||
Line 6: | Line 6: | ||
!style="background:#EEE" width="*"|Description | !style="background:#EEE" width="*"|Description | ||
|- | |- | ||
− | |bit.tobits(n) | + | |[[bit.tobits]](n) |
|<no description given> | |<no description given> | ||
|- | |- | ||
− | |bit.blshift(n, bits) | + | |[[bit.blshift]](n, bits) |
|<no description given> | |<no description given> | ||
|- | |- | ||
− | |bit.brshift(n, bits) | + | |[[bit.brshift]](n, bits) |
|<no description given> | |<no description given> | ||
|- | |- | ||
− | |bit.bxor(m, n) | + | |[[bit.bxor]](m, n) |
|<no description given> | |<no description given> | ||
|- | |- | ||
− | |bit.bor(m, n) | + | |[[bit.bor]](m, n) |
|<no description given> | |<no description given> | ||
|- | |- | ||
− | |bit.band(m, n) | + | |[[bit.band]](m, n) |
|<no description given> | |<no description given> | ||
|- | |- | ||
− | |bit.bnot(n) | + | |[[bit.bnot]](n) |
|<no description given> | |<no description given> | ||
|- | |- | ||
− | |bit.tonumb(bit_tbl) | + | |[[bit.tonumb]](bit_tbl) |
|<no description given> | |<no description given> | ||
|} | |} | ||
[[Category:APIs]] | [[Category:APIs]] |
Revision as of 21:24, 26 February 2012
The Bit API is for manipulating bits of variables.
A list of functions:
Method name | Description |
---|---|
bit.tobits(n) | <no description given> |
bit.blshift(n, bits) | <no description given> |
bit.brshift(n, bits) | <no description given> |
bit.bxor(m, n) | <no description given> |
bit.bor(m, n) | <no description given> |
bit.band(m, n) | <no description given> |
bit.bnot(n) | <no description given> |
bit.tonumb(bit_tbl) | <no description given> |