当前位置:网站首页>unsigned right shift
unsigned right shift
2022-07-29 06:28:00 【a568353087】
public static void main(String[] args) {
System.out.println("java Move right ");
// Integer a = -5;
Integer a = 5377;
System.out.println(Integer.toBinaryString(a));
System.out.println(Integer.toBinaryString(a >> 2)); // Move the sign right
System.out.println(Integer.toBinaryString(a >>> 2));
}
java Move right
1010100000001
10101000000
10101000000
Reference resources https://blog.csdn.net/u014110320/article/details/83037130
边栏推荐
猜你喜欢

Shell tool finalshell

Vivado IP核之浮点数乘除法 Floating-point
![[beauty of software engineering - column notes] 20 | how to deal with the headache of requirement change?](/img/0c/71557fa00accb2e6d30c13dc7f8efb.png)
[beauty of software engineering - column notes] 20 | how to deal with the headache of requirement change?

Eight sorts --------- quick sort

LeetCode #189.轮转数组

Leetcode 283. move zero

【Leetcode刷题】数组3——分治

LeetCode #26.删除有序数组中的重复项

UE4/UE5 C盘变大处理

Ue5 landscape conversion Nanite conversion method and it does not support the use method of starting dynamic mesh with lumen and lumen
随机推荐
Single chain surface test questions
虹科分享 | 为什么说EtherCAT是提高控制系统性能的最佳解决方案?
虹科分享 | 带你全面了解“CAN总线错误”(四)——在实践中生产和记录CAN错误
Leetcode 977. Square of ordered array
Leetcode 1. sum of two numbers
Computer network interview questions
Official tutorial redshift 04 rendering parameters
Leetcode 13. Roman numeral to integer
Ue5 landscape conversion Nanite conversion method and it does not support the use method of starting dynamic mesh with lumen and lumen
LeetCode #19.删除链表的倒数第N个结点
官方教程 Redshift 01 基础理论知识和基础特性学习
[beauty of software engineering - column notes] 13 | how to break the rhythm of writing code during daytime meetings and overtime?
Maya aces workflow configuration (Arnold and redshift map configuration specification - restore the correct effect of the map under the SP aces process) PS restore the rendered map under the aces proc
V-ray 5 ACEScg 工作流程设置
Eight sorts --------- quick sort
STP生成树原理及选举规则举例
LeetCode #26.删除有序数组中的重复项
Official tutorial redshift 07 instances and proxy
服务器135、137、138、139、445等端口解释和关闭方法
Summary of winter vacation training (1.23~1.28) [first tier]