A use for integer quotients

Bengt Richter bokr at accessone.com
Mon Jul 23 17:34:51 EDT 2001


On Mon, 23 Jul 2001 19:15:33 +0100, Steve Horne <sh at ttsoftware.co.uk> wrote:
[...]
>
>Fixed point arithmetic emulated by using integers with a scale factor,
>though, works very nicely. Better still when there's a language
>feature to do this automatically, but if we added fixed point types to
>Python we'd need *another* division operator - four so far including
>the rational one ;-)
>
This reminds me, is Python configurable to run on a platform with no
floating point support?

With Linux being embedded all over the place, it seems like it would come up.
Do the mini hand-helds (not to mention cell phones) have floating point?



More information about the Python-list mailing list