当前位置:网站首页>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
边栏推荐
猜你喜欢

虹科 | 使用JESD204串行接口高速桥接模拟和数字世界

虹科为您分享EtherCAT demo,教您如何从其他协议快速过渡到EtherCAT工业总线

Ue5 light shadow basic shadow full resolution sawtooth shadow solution lumen

Sqlyog installation and configuration tutorial

虹科分享 | 测试与验证复杂的FPGA设计(2)——如何在IP核中执行面向全局的仿真

Unity-默认渲染管线-刻晴卡渲shader

2022暑初二信息竞赛学习成果分享1

STP生成树原理及选举规则举例

虹科分享 | 带你全面认识“CAN总线错误”(二)——CAN错误类型

leetcode刷题笔记 452. Minimum Number of Arrows to Burst Balloons (Medium) 452.用最少数量的箭引爆气球(中等)
随机推荐
Leetcode notes 605. can place flowers (easy) 605. planting flowers
【Leetcode刷题】数组3——分治
虹科分享 | 为什么说EtherCAT是提高控制系统性能的最佳解决方案?
虹科案例 | PAC:一种整合了softPLC控制逻辑、HMI和其他服务功能的集成控制解决方案
UE5 纹理系统讲解及常见问题设置及解决方案
Operating system interview questions
Leetcode 9. palindromes
9196 tumor area solution
虹科分享 | 带你全面认识“CAN总线错误”(二)——CAN错误类型
官方教程 Redshift 01 基础理论知识和基础特性学习
Redshift 2.6.41 for maya2018 水印去除
JUC collection class is unsafe
Official tutorial redshift 07 instances and proxy
官方教程 Redshift 02 4中GI引擎概述及总结
官方教程 Redshift 05 system参数详细解释
Leetcode 26. delete duplicates in the ordered array
Unity初学1——角色移动控制(2d)
Leetcode 19. delete the penultimate node of the linked list
Abstract encapsulation inheritance polymorphism
V-ray 5 ACEScg 工作流程设置