On Sun, 10 Aug 2008 16:34:34 -0400, Rob Clewley wrote:
Dear Pythonistas,
How many times have we seen posts recently along the lines of why is it
that 0.1 appears as 0.10001 in python? that lead to posters
being sent to the definition of the IEEE 754 standard and the decimal.py
Is this related to minifloats?
http://en.wikipedia.org/wiki/Minifloat
Strictly speaking, yes, although after a brief introduction to the
general idea, the entry on that page focuses entirely on the
interpretation of the values as integers. My code *only* represents
the values in the same way
Dear Pythonistas,
How many times have we seen posts recently along the lines of why is
it that 0.1 appears as 0.10001 in python? that lead to
posters being sent to the definition of the IEEE 754 standard and the
decimal.py module? I am teaching an introductory numerical analysis
class