1/10(decimal) = 0.0001100110011... (binary)
How do I do that? Am I supposed to convert to binary and then divide? Could someone show me?
In university I learned it this way:
Example:
0.1 * 2 = 0.2 -> 0 0.2 * 2 = 0.4 -> 0 0.4 * 2 = 0.8 -> 0 0.8 * 2 = 1.6 -> 1 0.6 * 2 = 1.2 -> 1 0.2 * 2 = 0.4 -> 0 0.4 * 2 = 0.8 -> 0 0.8 * 2 = 1.6 -> 1 0.6 * 2 = 1.2 -> 1 Result: 0.00011(0011) periodic.
1.4m articles
1.4m replys
5 comments
57.0k users