PasteZap
🌐 简体中文
免费 · 无需注册

免费 · 开发

位运算计算器.

对 8、16、32 或 64 位有符号或无符号整数进行 AND、OR、XOR、NOT 和移位运算,以十进制、十六进制和二进制显示。

开始之前

部分技术控件使用英语。支持 Unicode 文本;文件格式和输出语言取决于具体工具。

下面以英语列出技术限制。处理大型文件或使用结果之前,请先查看这些限制。

Loading the calculator…

使用方法: 位运算计算器

输入数据或选择文件,调整设置并生成结果。复制或下载之前,请检查结果。

限制与支持格式

输入内容在您的设备上处理。

英语技术说明

Integers only, up to 64 bits. Everything is calculated in your browser; nothing you type is uploaded.

Values are truncated to the chosen width like a fixed-size register. Arithmetic right shift keeps the sign bit; logical right shift fills with zeros. Exact BigInt arithmetic, so 64-bit values keep every bit.

0b11001010 AND 0x3C = 0x08 (8); NOT 0 is −1 as a signed 8-bit value and 255 unsigned.