Difference between revisions of "Bit (API)"
From ComputerCraft Wiki
| Line 2: | Line 2: | ||
A list of functions: | A list of functions: | ||
| − | * bit. | + | {| border="1" cellpadding="2" cellspacing="0" |
| − | + | !style="background:#EEE" width="200px"|Method name | |
| − | + | !style="background:#EEE" width="*"|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> | ||
| + | |} | ||
[[Category:APIs]] | [[Category:APIs]] | ||
Revision as of 05:26, 31 January 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> |