@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.
Files changed (2) hide show
  1. package/include/lua.d.ts +6 -0
  2. 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).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.670",
3
+ "version": "1.0.671",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },