当前位置:网站首页>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
边栏推荐
猜你喜欢
Ue5 texture system explanation and common problem setting and Solutions
[beauty of software engineering - column notes] 14 | project management tools: all management problems should be considered whether they can be solved by tools
Leetcode 14. longest public prefix
Official tutorial redshift 09 camera
LeetCode #189.轮转数组
虹科分享 | 带您全面认识“CAN总线错误”(一)——CAN总线错误与错误帧
Summary of winter vacation training (1.23~1.28) [first tier]
Leetcode 344. reverse string
Add time series index to two-dimensional table
Vivado IP核之浮点数乘除法 Floating-point
随机推荐
Redshift restore SP effect - SP map export settings and map import configuration
官方教程 Redshift 04 渲染参数
Leetcode 167. sum of two numbers II - input ordered array
Single chain surface test questions
Add time series index to two-dimensional table
Ue5 texture system explanation and common problem setting and Solutions
只让电脑运行某个程序设置
leetcode刷题笔记 605. Can Place Flowers (Easy) 605.种花问题
THINKPHP5 常见问题
LeetCode #83. 删除排序链表中的重复元素
leetcode刷题笔记 763.划分字母区间(中等)
右值引用和移动构造
UE4 天光和反射球的原理和区别
Leetcode 83. delete duplicate elements in the sorting linked list
UE4 高光官方参考值
虹科Automation softPLC | MoDK运行环境与搭建步骤(1)——运行环境简介
虹科Automation softPLC | 虹科KPA MoDK运行环境与搭建步骤(2)——MoDK运行环境搭建
Eight sorts --------- quick sort
Traditional model predictive control trajectory tracking - wavy trajectory (function package has been updated)
模型空间下的旋转和世界空间下的旋转