Differences From Artifact [87f563d14c]:
- File 残局文料/lua_lib/常用库.lua — part of check-in [7a7894a746] at 2024-02-05 09:10:50 on branch trunk — 遇到瓶颈了 (user: 顽雨沉风, size: 3611) [annotate] [blame] [check-ins using]
To Artifact [6ff72213e4]:
- File 残局文料/lua_lib/常用库.lua — part of check-in [6bd570d52a] at 2024-02-05 10:01:34 on branch trunk — 精度难知呀 (user: 顽雨沉风, size: 3783) [annotate] [blame] [check-ins using]
| ︙ | |||
185 186 187 188 189 190 191 192 | 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 | + + + + + + + |
return o1 / o2
end
--~ 左数
--~ 右数
function d.位和(o1, o2)
return bit.band(o1, o2)
end
do
local double_pointer = ffi.new("double[1]")
local uint64_pointer = ffi.cast("uint64_t*", double_pointer)
function d.double_to_uint64(o1)
end
end
return d
|