Aus Fließkommazahl dekodieren

Decodiert die Eingabe mit “Aus Fließkommazahl dekodieren” gemäß dem entsprechenden Standard.

Eingabe: TextErgebnis: Binäre Bytes

Texteingabe

Ausführen, um das Ergebnis zu sehen

Beispiele

Store 1 -2 0.5 as IEEE 754 bytes

Store 1 -2 0.5 as IEEE 754 bytes. The input is a small public learning fixture; it contains no private production data.

Eingabe

1 -2 0.5

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
000000003f 80 00 00 c0 00 00 00 3f 00 00 00?.......?...
Byte-Reihenfolge
Big Endian
Größe
Float (4 bytes)
Trennzeichen
Space
Store -0.0 3.5 as IEEE 754 bytes

Store -0.0 3.5 as IEEE 754 bytes. The input is a small public learning fixture; it contains no private production data.

Eingabe

-0.0 3.5

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
0000000000 00 00 80 00 00 60 40......`@
Byte-Reihenfolge
Little Endian
Größe
Float (4 bytes)
Trennzeichen
Space
Store 1.5 -2.25 as IEEE 754 bytes

Store 1.5 -2.25 as IEEE 754 bytes. The input is a small public learning fixture; it contains no private production data.

Eingabe

1.5 -2.25

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
000000003f f8 00 00 00 00 00 00 c0 02 00 00 00 00 00 00?...............
Byte-Reihenfolge
Big Endian
Größe
Double (8 bytes)
Trennzeichen
Space
Store 0 1000 as IEEE 754 bytes

Store 0 1000 as IEEE 754 bytes. The input is a small public learning fixture; it contains no private production data.

Eingabe

0 1000

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
0000000000 00 00 00 00 00 00 00 00 00 00 00 00 40 8f 40.............@.@
Byte-Reihenfolge
Little Endian
Größe
Double (8 bytes)
Trennzeichen
Space
Store 0.125 -16 as IEEE 754 bytes

Store 0.125 -16 as IEEE 754 bytes. The input is a small public learning fixture; it contains no private production data.

Eingabe

0.125 -16

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
000000003e 00 00 00 c1 80 00 00>.......
Byte-Reihenfolge
Big Endian
Größe
Float (4 bytes)
Trennzeichen
Space
From Float (Big Endian, 4 bytes): 0.5

Eingabe

0.5 0.5

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
000000003f 00 00 00 3f 00 00 00?...?...
Byte-Reihenfolge
Big Endian
Größe
Float (4 bytes)
Trennzeichen
Space
From Float (Big Endian, 8 bytes): 0.5

Eingabe

0.5 0.5

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
000000003f e0 00 00 00 00 00 00 3f e0 00 00 00 00 00 00?.......?.......
Byte-Reihenfolge
Big Endian
Größe
Double (8 bytes)
Trennzeichen
Space
From Float (Little Endian, 4 bytes): 0.5

Eingabe

0.5 0.5

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
0000000000 00 00 3f 00 00 00 3f...?...?
Byte-Reihenfolge
Little Endian
Größe
Float (4 bytes)
Trennzeichen
Space
From Float (Little Endian, 8 bytes): 0.5

Eingabe

0.5 0.5

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
0000000000 00 00 00 00 00 e0 3f 00 00 00 00 00 00 e0 3f.......?.......?
Byte-Reihenfolge
Little Endian
Größe
Double (8 bytes)
Trennzeichen
Space

Ähnliche Werkzeuge

Datenformat

Referenz zur Operation

Technische Originaldokumentation ansehen (English)