Number systems are mathematical notations for representing numbers using digits or symbols in a consistent manner.
1 f32 = 1 2c
1 2c = 1 f32
Example:
Convert 15 IEEE 754 Single Precision to Two's Complement:
15 f32 = 15 2c
IEEE 754 Single Precision | Two's Complement |
---|---|
0.01 f32 | 0.01 2c |
0.1 f32 | 0.1 2c |
1 f32 | 1 2c |
2 f32 | 2 2c |
3 f32 | 3 2c |
5 f32 | 5 2c |
10 f32 | 10 2c |
20 f32 | 20 2c |
30 f32 | 30 2c |
40 f32 | 40 2c |
50 f32 | 50 2c |
60 f32 | 60 2c |
70 f32 | 70 2c |
80 f32 | 80 2c |
90 f32 | 90 2c |
100 f32 | 100 2c |
250 f32 | 250 2c |
500 f32 | 500 2c |
750 f32 | 750 2c |
1000 f32 | 1,000 2c |
10000 f32 | 10,000 2c |
100000 f32 | 100,000 2c |