Converter Tool
Enter an octal number (0-7). The '0o' prefix is optional. Choose between unsigned and signed (two's complement) interpretation.
Bits:
0
Type:
Unsigned
Binäre Darstellung:
Hexadezimale Darstellung:
Über Zahlensysteme
Oktalsystem
The octal numeral system, or oct for short, is the base-8 number system, and uses the digits 0 to 7. Octal numerals can be made from binary numerals by grouping consecutive binary digits into groups of three (starting from the right).
Oktal- in Dezimaltabelle
| Octal | Decimal | Octal | Decimal |
|---|---|---|---|
| 0 | 0 | 4 | 4 |
| 1 | 1 | 5 | 5 |
| 2 | 2 | 6 | 6 |
| 3 | 3 | 7 | 7 |
Dezimalsystem
Das Dezimalsystem ist ein Zahlensystem zur Basis 10, das zehn verschiedene Symbole verwendet: 0, 1, 2, 3, 4, 5, 6, 7, 8 und 9. Es ist das am häufigsten verwendete Zahlensystem im Alltag.
Zweierkomplement Das Zweierkomplement
ist eine mathematische Operation, die zur Darstellung negativer Zahlen in binären Systemen verwendet wird. Es wird häufig in der Informatik verwendet, da es arithmetische Operationen wie Addition und Subtraktion vereinfacht.
So wandeln Sie eine positive Zahl in ihr negatives Gegenstück im Zweierkomplement um:
- Wandeln Sie die Zahl in ein Binärsystem um.
- Invert all the bits (change 0 to 1 and 1 to 0).
- Addieren Sie 1 zum Ergebnis der Inversion.
Um die Komplementzahl einer negativen Zwei wieder in dezimal umzuwandeln:
- Invertiere alle Bits.
- Addieren Sie 1 zum Ergebnis der Inversion.
- Konvertieren Sie das Ergebnis in eine Dezimalzahl und stellen Sie ihm ein negatives Vorzeichen voran.
Beispiel: 8-Bit-Zweierkomplementbereich
Positive Number (5):
0000 0101 (binary)
Negative Number (-5):
1111 1010 (inverted bits of 5)
1111 1011 (add 1 = two's complement representation of -5)
für 8-Bit-Zweierkomplement:
-128 (1000 0000) to 127 (0111 1111)
Related Tools
Oktal-zu-Dezimal
Müheloses Konvertieren von Oktalzahlen in DezimalzahlenMüheloses Konvertieren von Oktalzahlen in Hexadezimalzahlen
Text zu Oktal
Konvertieren Sie Text mühelos
Text zu Binär
Konvertieren Sie mühelos Text in Binärcode
HTML-Verschönerung
Formatieren und verschönern Sie Ihren HTML-Code mit professioneller Präzision
RGB-zu-CMYK
Konvertieren von RGB-Farben in CMYK-Werte für das Druckdesign
CMYK zu PANTONE
Konvertieren von CMYK-Farbwerten in nächstliegende Pantone-Äquivalente® für das Druckdesign