The values here are as shown by dbx, in hexadecimal.
Table C-2 IEEE Representation of Selected Numbers|
Value |
Single-Precision |
Double-Precision |
|---|---|---|
|
+0 |
00000000 |
0000000000000000 |
|
-0 |
80000000 |
8000000000000000 |
|
+1.0 |
3F800000 |
3FF0000000000000 |
|
-1.0 |
BF800000 |
BFF0000000000000 |
|
+2.0 |
40000000 |
4000000000000000 |
|
+3.0 |
40400000 |
4008000000000000 |
|
+Infinity |
7F800000 |
7FF0000000000000 |
|
-Infinity |
FF800000 |
FFF0000000000000 |
|
NaN |
7Fxxxxxx |
7FFxxxxxxxxxxxxx |