t**k 发帖数: 10 | 1 这问题不简单,牵涉到两种负数体制
一种是,负数是正数的对称映射
另一种是,负数是正数的延伸,即全体实数是一个完整的体系
这两种不同的体制下有很多运算都是不同的
比如对负数取模就是两种不同的运算
对负数的四舍五入也是有两种定义的
以我个人,我倾向于-.5入成-1 | p**y 发帖数: 10 | 2 Both ways exist. For engineering stuff,
I think you can just pick one that fit for your
problem and stick to it. As to mathematical theory,
it is on top of my mind, but I think it still
depends on the problem formulation. |
|