@rbxts/types 1.0.670 → 1.0.671
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/lua.d.ts +6 -0
- package/package.json +1 -1
package/include/lua.d.ts
CHANGED
|
@@ -596,6 +596,12 @@ declare namespace bit32 {
|
|
|
596
596
|
/** Returns the bitwise _exclusive or_ of its operands. */
|
|
597
597
|
function bxor(...operands: Array<number>): number;
|
|
598
598
|
|
|
599
|
+
/** Returns the number of consecutive zero bits in the 32-bit representation of the provided number starting from the left-most (most significant) bit. */
|
|
600
|
+
function countlz(n: number): number;
|
|
601
|
+
|
|
602
|
+
/** Returns the number of consecutive zero bits in the 32-bit representation of the provided number starting from the right-most (least significant) bit. */
|
|
603
|
+
function countrz(n: number): number;
|
|
604
|
+
|
|
599
605
|
/**
|
|
600
606
|
* Returns the unsigned number formed by the bits `field` to `field + width - 1` from `n`.
|
|
601
607
|
* Bits are numbered from 0 (least significant) to 31 (most significant).
|