
Data Structures – Primitives
Coding Blocks
00:00
Arithmetic Precision Error - 0.1, 10 Times 0.1?
In most systems, a number like 0.1 cannot be accurately represented using binary. So when you take that value and you start adding it up multiple times, there's going to be some form of arithmetic precision error. But if you can live with that, I mean, God, I don't even know what place this is, it looks like it's probably in the 15th place that it's off by one or two bits.
Transcript
Play full episode