mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Update library.md
This commit is contained in:
parent
010f35d024
commit
475a33c1b0
1 changed files with 1 additions and 1 deletions
|
@ -647,7 +647,7 @@ All functions in the `bit32` library treat input numbers as 32-bit unsigned inte
|
|||
function bit32.arshift(n: number, i: number): number
|
||||
```
|
||||
|
||||
Shifts `n` by `i` bits to the right (if `i` is negative, a left shift is performed instead). The most significant bit of `n` is propagated during the shift. When `i` is outside of `[-31..31]` range, returns an integer with all bits set to the sign bit of `n`.
|
||||
Shifts `n` by `i` bits to the right (if `i` is negative, a left shift is performed instead). The most significant bit of `n` is propagated during the shift. When `i` is larger than 31, returns an integer with all bits set to the sign bit of `n`. When `i` is smaller than `-31`, 0 is returned.
|
||||
|
||||
```
|
||||
function bit32.band(args: ...number): number
|
||||
|
|
Loading…
Add table
Reference in a new issue