nach IEEE 754:
| ex = c - bias | c | Charakteristik wird gespeichert |
| bias | Bias, die Hälfte des Zahlenbereichs | |
| ex | der eigentliche Exponent |
| prescision | Wortlänge [Bit] | Charakteristik [Bit] | Bias | Fraction [Bit] |
| single | 32 | 8 | 127 | 23 |
| double | 64 | 11 | 1023 | 52 |
| c=0 | ex=-127 |
![]() |
|
|
|
|
| c=127= 7f16 | ex=0 | |Z|=1,f |
|
|
|
|
| c=255= ff16 | ex=128 |
![]() |
ist das höchste Bit in der Cahrakteristik c gleich
| 1, | ist Exponent positiv | |
| 0, | ist Exponent 0 |
|
| 0, | ist Exponent negativ | |Z| < 1 |
| 31 | 30 |
22 |
Zahlenwert | ||||||||
| s | 8 Bit Charakteristik | 2-1 2-2 |
|||||||||
| ex | f | ||||||||||
| 0 | 1 | 00 | 0000 | 0 | 100 | 0000 | 0000 | 0000 | 0000 | 0000 | |
| 4 | 0 | 4 | 0 | 0 | 0 | 0 | 0 |
|
|||
| Byte 3 | Byte 2 | Byte 1 | Byte 0 | ||||||||
| f | f | 8 | 0 | 0 | 0 | 0 | 0 | ||||
| f | f | 7 | f | f | f | f | f |
|
|||
| 8 | 0 | 8 | 0 | 0 | 0 | 0 | 0 |
|
|||
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
|
|||
| 0 | 0 | 4 | 0 | 0 | 0 | 0 | 0 |
|
|||
| 0 | 0 | 8 | 0 | 0 | 0 | 0 | 0 |
|
|||
| 3 | f | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | |||
| 3 | f | 8 | 0 | 0 | 0 | 0 | 0 | 1 | |||
| 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | |||
| 7 | f | 7 | f | f | f | f | f |
|
|||
| 7 | f | 8 | 0 | 0 | 0 | 0 | 0 | ||||
| 7 | f | 8 | 0 | 0 | 1 | 0 | 0 | Not A Number | |||