游戏王残局简化版

Check-in [bd61a4ccbd]
Login

Check-in [bd61a4ccbd]

Overview
Comment:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: bd61a4ccbd5e4ece2550c4404be96b617546c02b9313b8c8ff1aba50dfb5bdac
User & Date: 顽雨沉风 on 2024-02-12 14:31:27
Other Links: manifest | tags
Context
2024-02-12
14:33
check-in: 1903a27f17 user: 顽雨沉风 tags: trunk
14:31
check-in: bd61a4ccbd user: 顽雨沉风 tags: trunk
14:27
check-in: 9046251063 user: 顽雨沉风 tags: trunk
Changes

Modified 残局文料/lua_lib/算机_程语_月_基类_数.lua from [e67a76bc83] to [2fe66b2ac0].

55
56
57
58
59
60
61








62
63
64
65
66
67
68
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76







+
+
+
+
+
+
+
+







-- 绝对值
function d.绝对值(o1)
  if o1 > 0 then
    return o1
  else
    return d.负数(o1)
    end
  end
-- 正数与负数
function d.正数(o1)
  if o1 >= 0 then
    return o1
  else
    return -o1
    end
  end
-- 递加
do
  local k1_0
  --~ 数表
  k1_0 = {}
  function d.递加(o1)

Modified 残局文料/lua_lib/算机_程语_月_基类_表_排_基类_数.lua from [5e4b84b802] to [d14e942d50].

43
44
45
46
47
48
49
50

51
52
53
54
55
43
44
45
46
47
48
49

50
51
52
53
54
55







-
+





function d.均差(o1_0, o1)
  local k1, k2
  local k1_0
  --~ 标准值
  k1 = o1 or d.均值(o1_0)
  --~ 排,用于算均差
  k1_0 = 历排库.历排(o1_0, 基算库.减法, k1)
  k1_0 = 历排库.历排(k1_0, 数库.绝对值)
  k1_0 = 历排库.历排(k1_0, 数库.正数)
  --~ 均差
  k2 = 基算库.除法(d.总和(k1_0), #k1_0)
  return k2
  end
return d