For faster navigation, this Iframe is preloading the Wikiwand page for 算术移位.

算术移位

二进制数算术右移1位。最左邊的數值不變
二进制数算术左移1位。最右邊的位置則用零填充。

程序设计中,算术移位是一种位操作,有时被称为有符号移位。它分為算术左移算术右移。对于二进制数来说,算术移位可以移动每個數字的位置,即每個數字都能被移动,而空出的位置又被其他數字填充。当向右移动时,最左边的位置依舊保留原有位置的數值[1]

参考文献

[编辑]
  1. ^ Thomas R. Cain and Alan T. Sherman. "How to break Gifford's cipher". Section 8.1: "Sticky versus Non-Sticky Bit-shifting". Cryptologia. 1997.
{{bottomLinkPreText}} {{bottomLinkText}}
算术移位
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?