通信人家园

标题: 运算符SMOD是什么意思?  [查看完整版帖子] [打印本页]

时间:  2010-1-6 16:46
作者: ethan0625     标题: 运算符SMOD是什么意思?

n mod m indicates the remainder of the euclidian
division of n by m, ie 0 = (n mod m) = m-1 and
there exists k such that n = (k*m) (n mod m);

n smod m indicates the offset remainder of the
euclidian division of n by m, ie
1 = (n smod m) = m and there exists k such that
n = (k*m) (n smod m);
我知道第一个mod是模,第二个smod是什么呢?




通信人家园 (https://www.txrjy.com/) Powered by C114