math.cmp

来自「非常好用的摸板程序」· CMP 代码 · 共 21 行

CMP
21
字号
Addition and subtraction : 1 + 1 = 22 - 1 = 1Multiplication, division, and modulus :5 % 2 = 15 % 0 = $rem27 % 2 = 15 / 2 = 25 / 0 = $rem45 * 2 = 105 * -1 = -55 * -2 = -105 * -2 = -10And now null nodes to make sure it doesn't throw an NPE :

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?