bit.ceil
code:Lua
r = textmodule.bit.ceil(n1)
モジュール
bit
引数
table:_
変数 型 概要
1 n1 number 数値
返り値
table:_
変数 型 概要
1 r number 計算結果
概要
整数値
n1
を2の累乗値に切り上げる。