当前位置:网站首页>无符号右移
无符号右移
2022-07-29 05:24:00 【a568353087】
public static void main(String[] args) {
System.out.println("java 右移");
// Integer a = -5;
Integer a = 5377;
System.out.println(Integer.toBinaryString(a));
System.out.println(Integer.toBinaryString(a >> 2)); // 有符号右移
System.out.println(Integer.toBinaryString(a >>> 2));
}
java 右移
1010100000001
10101000000
10101000000
参考 https://blog.csdn.net/u014110320/article/details/83037130
边栏推荐
- HAL库学习笔记-10 HAL库外设驱动框架概述
- 基于AD9850的多功能信号发生器
- ABSA1: Attentional Encoder Network for Targeted Sentiment Classification
- 新能源充电桩后台管理系统平台
- Dust and noise monitoring system
- Huawei cloud 14 days Hongmeng device development -day1 environment construction
- 【软件工程之美 - 专栏笔记】“一问一答”第3期 | 18个软件开发常见问题解决策略
- Jingwei Qili: development of heart rate and blood oxygen module based on hmep060 (1: FPGA sends multi bit instructions)
- Ml9 self study notes
- 传统模型预测控制轨迹跟踪——圆形轨迹(功能包已经更新)
猜你喜欢

Based on STM32: couple interactive doll (design scheme + source code +3d drawing +ad circuit)

倾角传感器精度校准检测

Huawei cloud 14 day Hongmeng device development -day7wifi function development

基于msp430f2491的proteus仿真(实现流水灯)

京微齐力:基于HMEP060的OLED字符显示(及FUXI工程建立演示)

【软件工程之美 - 专栏笔记】“一问一答”第3期 | 18个软件开发常见问题解决策略

【软件工程之美 - 专栏笔记】24 | 技术债务:是继续修修补补凑合着用,还是推翻重来?

ML7 self study notes

【RoboMaster】A板接收JY-ME01角度传感器数据--modebus协议&CRC软件校验

STM32 printf问题总结 semihosting microLIB理解
随机推荐
Ml4 self study notes
Pytorch Basics (Introductory)
基于51单片机的四路抢答器仿真
Hal library learning notes-11 I2C
数论:px+py 不能表示的最大数为pq-p-q的证明
2.4G频段的无线收发芯片 SI24R1 问题汇总解答
【软件工程之美 - 专栏笔记】21 | 架构设计:普通程序员也能实现复杂系统?
From entry to soul: how to use tb6600 single chip microcomputer to control stepping motor with high precision (42/57)
STM32 检测信号频率
Hal library learning notes - 8 use of serial communication
基于msp430f2491的proteus仿真
【软件工程之美 - 专栏笔记】13 | 白天开会,加班写代码的节奏怎么破?
AttributeError: module ‘tensorflow‘ has no attribute ‘placeholder‘
Huawei cloud 14 day Hongmeng device development -day1 source code acquisition
Open source based on STM32: MHD Bluetooth speaker (including source code +pcb)
简洁代码实现pdf转word文档
Jingwei Qili: OLED character display based on hmep060 (and Fuxi project establishment demonstration)
避坑:关于两个HC-05主从一体蓝牙模块互连,连不上问题
QT学习笔记-QtSQL
FPGA based: moving target detection (schematic + source code + hardware selection, available)