Overview
| Comment: | 好 |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
f347cac7fe3768d9f97109126b0ef486 |
| User & Date: | 顽雨沉风 on 2024-02-12 14:41:58.439 |
| Other Links: | manifest | tags |
Context
|
2024-02-12
| ||
| 14:52 | 好 check-in: 7641d52a05 user: 顽雨沉风 tags: trunk | |
| 14:41 | 好 check-in: f347cac7fe user: 顽雨沉风 tags: trunk | |
| 14:33 | 好 check-in: 1903a27f17 user: 顽雨沉风 tags: trunk | |
Changes
Modified 残局文料/lua_lib/算机_程语_月_基类_数.lua
from [ea8b0a5009]
to [7bddfd0dc4].
| ︙ | ︙ | |||
28 29 30 31 32 33 34 | --~ 数 function d.二底指数次(o1) local k1 --~ 指数次 _, k1 = math.frexp(o1) return k1 end | | | | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
--~ 数
function d.二底指数次(o1)
local k1
--~ 指数次
_, k1 = math.frexp(o1)
return k1
end
-- 向大取整和向小取整
--~ 数
function d.向小取整(o1)
return math.floor(o1)
end
-- 几位整数和几位小数
--~ 数
--~ 几位整数
function d.几位整数(o1, o2)
return string.format("%0" .. o2 .. "d", o1)
|
| ︙ | ︙ |