Lo que todo programador debería saber sobre aritmética de punto flotante
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix 0.1 in binary

+1 -1
+1 -1
content/formats/binary.html
··· 68 68 | 1/10 | 10 | 0.1 | 0.1 | 1/10 | 0 | 69 69 | 1/3 | 10 | 0.<span class="over">3</span> | 0.3333 | 3333/10000 | 1/30000 | 70 70 | 1/2 | 2 | 0.1 | 0.1 | 1/2 | 0 | 71 - | 1/10 | 2 | 0.<span class="over">00011</span> | 0.0001 | 1/16 | 3/80 | 71 + | 1/10 | 2 | 0.0<span class="over">0011</span> | 0.0001 | 1/16 | 3/80 | 72 72 73 73 And this is how you already get a rounding error when you just *write down* a number like 0.1 and 74 74 run it through your interpreter or compiler. It's not as big as 3/80 and may be invisible because