Differences From Artifact [e6783b3394]:
- File 残局文料/lua_lib/算机_程语_月_基类_数.lua — part of check-in [420d28e057] at 2024-02-06 13:55:46 on branch trunk — 实现 (user: 顽雨沉风, size: 374) [annotate] [blame] [check-ins using]
- File 残局文料/lua_lib/算机_程语_月_基类_数_基.lua — part of check-in [77f6e5c564] at 2024-02-08 12:35:22 on branch trunk — 慢慢来 (user: 顽雨沉风, size: 374) [annotate] [blame] [check-ins using]
- File 残局文料/lua_lib/算机_程语_月_基类_数_基算.lua — part of check-in [77f6e5c564] at 2024-02-08 12:35:22 on branch trunk — 慢慢来 (user: 顽雨沉风, size: 374) [annotate] [blame] [check-ins using]
To Artifact [14d957724e]:
- File 残局文料/lua_lib/算机_程语_月_基类_数_基算.lua — part of check-in [95b5664d69] at 2024-02-10 15:11:09 on branch trunk — 搞定了 (user: 顽雨沉风, size: 555) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
16 17 18 19 20 21 22 23 24 | function d.乘法(o1, o2) return o1 * o2 end --~ 左除数 --~ 右除数 function d.除法(o1, o2) return o1 / o2 end return d | > > > > > > > > > > | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | function d.乘法(o1, o2) return o1 * o2 end --~ 左除数 --~ 右除数 function d.除法(o1, o2) return o1 / o2 end -- 向外与向内 --~ 左加数 --~ 右加数 function d.向外加(o1, o2) if o1 >= 0 then return d.加法(o1, o2) else return d.减法(o1, o2) end end return d |