Simon Willison’s Weblog


Fixed Point Arithmetic in Python

28th April 2003

The Python Tutorial now includes a new appendix on the limitations of floating point arithmetic. Via Simon Brunning, who also linked to the lengthier What Every Computer Scientist Should Know About Floating-Point Arithmetic almost exactly a year ago.

This is Fixed Point Arithmetic in Python by Simon Willison, posted on 28th April 2003.

Next: Tim Bray on Unicode

Previous: CSS Headings

Previously hosted at