tfix24.exp
来自「早期freebsd实现」· EXP 代码 · 共 62 行
EXP
62 行
Fix24: identities should be displayed0 = 0.5 = 0.5-.5 = -0.5.1 = 0.1.5 = 0.5.5 = 0.5.25 = 0.25536870912 = 536870912.25 = 0.25.25 = 0.25.25 = 0.25-.25 = -0.25.1 + .5 = 0.6.1 - .5 = -0.4.1 * .5 = 0.05.1 * 3 = 0.3.1 * -3 = -0.3.1 / .5 = 0.2.1 << 1 = 0.2-.5 >> 2 = -0.125.1 == .5 = 0.1 != .5 = 1.1 > .5 = 0.5 <= -.5 = 0Fix24: range errors ignored and overflows saturated1.1 = 1.7 + .5 = 1-.5 - .7 = -1.5 / .1 = 1Fix48: identities should be displayed0 = 0.5 = 0.5-.5 = -0.5.1 = 0.1.5 = 0.5.5 = 0.5.25 = 0.25536870912 = 5368709120 = 0.25 = 0.25.25 = 0.25.25 = 0.25-.25 = -0.25.1 + .5 = 0.6.1 - .5 = -0.4.1 * 3 = 0.3.1 * -3 = -0.3.1 << 1 = 0.2-.5 >> 2 = -0.125.1 == .5 = 0.1 != .5 = 1.1 > .5 = 0.5 <= -.5 = 0Fix48: range errors reported and overflows reportedwarning: Fix48 result out of range1.1 = 1warning: Fix48 result out of range.7 + .5 = -0.8warning: Fix48 result out of range-.5 - .7 = 0.8
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?