Programmer Tape
Calculatrice Binaire — Convertisseur Binaire, Hexadécimal et Décimal | Cruse
Calculatrice et convertisseur de bases numériques pour développeurs. Opérations arithmétiques et logiques (ET, OU, XOR, NON).
Comment Utiliser Cet Outil
Select Word Size & Signed Mode
Choose your architecture register width: 64-bit (QWORD), 32-bit (DWORD), 16-bit (WORD), or 8-bit (BYTE). Toggle Signed (Two’s complement) or Unsigned.
Choose Input Base & Type Numbers
Click HEX, DEC, OCT, or BIN to set the active entry mode. Keypad buttons automatically enable or disable based on the selected numeral base.
Perform Bitwise Math or Click Bits
Execute bitwise logic (AND, OR, XOR, NOT, LSH, RSH) or click directly on individual bits in the interactive bit-flipper matrix to toggle bits on the fly.
Références Techniques et Spécifications
| Parameter / Standard | Specification |
|---|---|
| Register Word Sizes | 64-bit QWORD, 32-bit DWORD, 16-bit WORD, 8-bit BYTE |
| Numeral Bases Supported | Hexadecimal (Base 16), Decimal (Base 10), Octal (Base 8), Binary (Base 2) |
| Bitwise Logic Operations | AND, OR, XOR, NOT, Bit Clear, Two’s Complement Negation |
| Bit Shifting & Rotation | Left Shift (<<), Right Shift (>>), Rotate Left (ROL), Rotate Right (ROR) |
| Numeric Range (64-bit) | Unsigned: 0 to 18,446,744,073,709,551,615 | Signed: -9.22 × 10¹⁸ to +9.22 × 10¹⁸ |
| Interactive Bit Matrix | Direct clickable nibble-grouped bit flipper with instantaneous base synchrony |
| Computation Engine | Native JavaScript BigInt engine. Zero floating-point rounding or precision truncation. |
Foire Aux Questions
How does two’s complement signed representation work?
In two’s complement, the most significant bit (MSB) serves as the sign flag. If MSB is 0, the number is positive. If MSB is 1, the number represents a negative value equal to the inverted bits plus 1. This allows digital CPU circuits to execute addition and subtraction with identical hardware logic.
Why does the keypad disable certain letters or numbers when I switch modes?
Each numeral base only allows valid digits in that radix. Binary (Base 2) only accepts 0 and 1. Octal (Base 8) accepts 0 through 7. Decimal (Base 10) accepts 0 through 9. Hexadecimal (Base 16) accepts 0 through 9 and A through F. Invalid keys are automatically disabled to prevent formatting syntax errors.
Can I flip individual bits on the screen?
Yes! The interactive bit matrix below the displays shows every bit organized into 4-bit nibbles and 8-bit bytes. Simply click on any 0 or 1 bit to toggle it. All HEX, DEC, OCT, and BIN representations update instantaneously.
What is the difference between QWORD, DWORD, WORD, and BYTE?
These terms denote standard computer architecture word widths: BYTE is 8 bits (1 byte), WORD is 16 bits (2 bytes), DWORD (Double Word) is 32 bits (4 bytes), and QWORD (Quad Word) is 64 bits (8 bytes). Switching word size clamps and masks calculations to that specific hardware width.
Outils Gratuits Connexes
Voir tous les outilsCalculez votre Indice de Masse Corporelle (IMC) selon les normes de l'OMS avec évaluation visuelle et calcul de la fourchette de poids de santé.
Calculez votre métabolisme de base (BMR) et votre dépense énergétique journalière (TDEE) pour perdre du poids, maintenir ou prendre du muscle.
Déterminez la quantité exacte d'eau en litres et en verres à boire chaque jour selon votre poids, votre niveau d'activité physique et le climat.