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