
June 24, 2015
9:19 a.m.
On Tue, 23 Jun 2015 23:25:00 +0300 Paul Sokolovsky <pmiscml@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 datetime computations. That should be less of a heavy requirement than arbitrary-precision ints. Regards Antoine.