这个行为可以确保有符号整数的符号位不会因为右移操作而改变,这通常被称为算术移位(arithmetic shift)。 由于正数和负数的特殊存储方式,在对它们进行右移的时候,会使它们越来越接近 0。
基于562个网页-相关网页
... 移位并减1控制 shift and subtract 1 control 算术移位 shift arithmetically 班次产能 shift capacity ...
基于16个网页-相关网页
·2,447,543篇论文数据,部分数据来源于NoteExpress
我对当前的MS C ++编译器VS2008帮说,他们做了一个算术移位。
My VS2008 help for the current MS C++ compiler says they do an arithmetic shift.
Shell并没有提供大量的算术操作符,但是已经足以完成大多数编程任务,包括移位、求余和比较。
The shell doesn't have a large collection of arithmetic operators, but it's sufficient for most programming tasks, including bitwise shifts, remainders, and comparisons.
本文提出了一种利用整数加法和移位实现二值算术编码的方法。
In this paper, we propose a new implementation of bit level arithmetic coding by use of integer additions and shifts.
应用推荐