[Python-ideas] millisecond and microsecond times without floats
solipsis at pitrou.net
Wed Jun 24 09:19:55 CEST 2015
On Tue, 23 Jun 2015 23:25:00 +0300
Paul Sokolovsky <pmiscml at gmail.com> wrote:
> Well, that's one of examples of that "desktop" thinking ;-).
> Consider for example that 2^32 microseconds is just over an hour, so
> expressing everything in microseconds would require arbitrary-precision
> integers, which may be just the same kind of burden for an embedded
> system as floats.
I'd like to suggest micropython first acquire the ability to handle
64-bit numbers (or something close to that, e.g. 60-bit, if it likes
to use tags for typing), if it wants to become appropriate for precise
That should be less of a heavy requirement than arbitrary-precision
More information about the Python-ideas