Floats, Binary, and Floating-Point Error

Why does adding `0.1` ten times not equal `1.0`, and what does the computer storing numbers in base 2 have to do with it?


Loading notebook...

This may take a moment on first load


Feynman technique

Learn with the Feynman Technique

Explain each idea in your own words in handwriting, then upload a photo for AI critique. Two attempts per question — there's no "right" answer, only depth of understanding.