On Tue, Jul 12, 2016 at 9:14 AM, Jan Coombs
<jenfhaomndgfw...@murmic.plus.com> wrote:
> Thees all look good, but you may get into trouble if you trust a
> PC with them!
>
> If the language/PC uses floating point representation then it
> will assign a fixed number of bits for the fractional part, and
> this will be left aligned in all/most hardware.

PCs don't necessarily use floating point. Just check out Python's own
decimal.Decimal class, or roll your own if you need to.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to