summaryrefslogtreecommitdiff
path: root/unix/time.c
AgeCommit message (Collapse)Author
2014-04-04unix: Rename module sources per latest naming conventions (mod*.c).Paul Sokolovsky
2014-04-04unix: Use STATIC modifier to enable code size analysis via map file.Paul Sokolovsky
2014-03-30Rename rt_* to mp_*.Damien George
Mostly just a global search and replace. Except rt_is_true which becomes mp_obj_is_true. Still would like to tidy up some of the names, but this will do for now.
2014-03-16unix: Clean up includes.xbe
Remove unnecessary includes. Add includes that improve portability.
2014-03-08Implement ROMable modules. Add math module.Damien George
mp_module_obj_t can now be put in ROM. Configuration of float type is now similar to longint: can now choose none, float or double as the implementation. math module has basic math functions. For STM port, these are not yet implemented (they are just stub functions).
2014-02-09unix: Implement time.sleep().Paul Sokolovsky
2014-02-02unix time.clock(): Actually return float value.Paul Sokolovsky
2014-02-02unix: Add basic time module (with time() and clock() functions).Paul Sokolovsky
Both return int so far (single-precision float doesn't have enough bits to represent int32 precisely).