fixed point vs fixed decimal

Terry Hancock hancock at anansispaceworks.com
Mon Jan 6 22:36:13 EST 2003


There's a definite distinction between fixed-point and binary-coded decimal 
or other fixed decimal representations in what numbers they can represent 
exactly.  For example, 0.1 decimal is not a round binary value (it's 
0.0001100110011...).

So there's no exact correspondence between number of places in fixed 
decimal and fixed binary representations.  So, I'd have to say the OP is 
correct.

Cheers,
Terry

-- 
Anansi Spaceworks
http://www.anansispaceworks.com




More information about the Python-list mailing list