
June 24, 2015
6:59 a.m.
On 23.06.15 02:15, Paul Sokolovsky wrote:
Hello from MicroPython, a lean Python implementation scaling down to run even on microcontrollers (https://github.com/micropython/micropython).
Our target hardware base oftentimes lacks floating point support, and using software emulation is expensive. So, we would like to have versions of some timing functions, taking/returning millisecond and/or microsecond values as integers.
What about returning decimals or special fixed-precision numbers (internally implemented as 64-bit integer with constant scale 1000 or 1000000)?