bit32

사용되지 않는 항목 표시

This library provides functions to perform bitwise operations.

Number Limitations

This library treats numbers as unsigned 32-bit integers; numbers will be converted to this before being used (see image below). Numbers with decimal numbers are rounded to the nearest whole number.

32-bit integer conversion (in hexadecimal)

요약

함수

함수

arshift

매개 변수

disp: number

반환

band

매개 변수

numbers: Tuple

반환

bnot

매개 변수

반환

매개 변수

numbers: Tuple

반환

btest

매개 변수

numbers: Tuple

반환

bxor

매개 변수

numbers: Tuple

반환

countlz

매개 변수

반환

countrz

매개 변수

반환

extract

매개 변수

field: number
width: number
기본값: 1

반환

replace

매개 변수

field: number
width: number
기본값: 1

반환

lrotate

매개 변수

disp: number

반환

lshift

매개 변수

disp: number

반환

rrotate

매개 변수

disp: number

반환

rshift

매개 변수

disp: number

반환