أمثلة
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.
المدخلات
1 -2 0.5Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 3f 80 00 00 c0 00 00 00 3f 00 00 00 | ?.......?... |
3f 80 00 00 c0 00 00 00 3f 00 00 00
- ترتيب البايت
Big Endian- الحجم
Float (4 bytes)- محدد
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.
المدخلات
-0.0 3.5Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 00 00 00 80 00 00 60 40 | ......`@ |
00 00 00 80 00 00 60 40
- ترتيب البايت
Little Endian- الحجم
Float (4 bytes)- محدد
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.
المدخلات
1.5 -2.25Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 3f f8 00 00 00 00 00 00 c0 02 00 00 00 00 00 00 | ?............... |
3f f8 00 00 00 00 00 00 c0 02 00 00 00 00 00 00
- ترتيب البايت
Big Endian- الحجم
Double (8 bytes)- محدد
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.
المدخلات
0 1000Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 00 00 00 00 00 00 00 00 00 00 00 00 00 40 8f 40 | .............@.@ |
00 00 00 00 00 00 00 00 00 00 00 00 00 40 8f 40
- ترتيب البايت
Little Endian- الحجم
Double (8 bytes)- محدد
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.
المدخلات
0.125 -16Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 3e 00 00 00 c1 80 00 00 | >....... |
3e 00 00 00 c1 80 00 00
- ترتيب البايت
Big Endian- الحجم
Float (4 bytes)- محدد
Space
From Float (Big Endian, 4 bytes): 0.5
المدخلات
0.5 0.5Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 3f 00 00 00 3f 00 00 00 | ?...?... |
3f 00 00 00 3f 00 00 00
- ترتيب البايت
Big Endian- الحجم
Float (4 bytes)- محدد
Space
From Float (Big Endian, 8 bytes): 0.5
المدخلات
0.5 0.5Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 3f e0 00 00 00 00 00 00 3f e0 00 00 00 00 00 00 | ?.......?....... |
3f e0 00 00 00 00 00 00 3f e0 00 00 00 00 00 00
- ترتيب البايت
Big Endian- الحجم
Double (8 bytes)- محدد
Space
From Float (Little Endian, 4 bytes): 0.5
المدخلات
0.5 0.5Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 00 00 00 3f 00 00 00 3f | ...?...? |
00 00 00 3f 00 00 00 3f
- ترتيب البايت
Little Endian- الحجم
Float (4 bytes)- محدد
Space
From Float (Little Endian, 8 bytes): 0.5
المدخلات
0.5 0.5Expected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | 00 00 00 00 00 00 e0 3f 00 00 00 00 00 00 e0 3f | .......?.......? |
00 00 00 00 00 00 e0 3f 00 00 00 00 00 00 e0 3f
- ترتيب البايت
Little Endian- الحجم
Double (8 bytes)- محدد
Space