bit
概要
ビット演算を行う関数。
関数一覧
table:_
関数 概要
bit.rshift
右ビットシフト
bit.lshift
左ビットシフト
bit.rrotate
右循環ビットシフト
bit.lrotate
左循環ビットシフト
bit.band
ビットAND
bit.bnot
ビットNOT
bit.bor
ビットOR
bit.bxor
ビットXOR
bit.ceil
2の累乗への切り上げ
bit.floor
2の累乗への切り下げ
bit.popcount
立っているビット(1)の個数
bit.string
2進数の値から文字列に変換
#API