45 Commits (c60a261ef03f906ae1973f93c63169a5236f0b1f)

Author SHA1 Message Date
Damien George 6ac5dced24 py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 11 years ago
Damien George ee7a880d6e py: Use mp_arg_check_num in more places. 11 years ago
Damien George d0a5bf34f7 py: Tidy up returning NULL which should be MP_OBJ_NOT_SUPPORTED. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky f54bcbf099 py, unix: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Paul Sokolovsky 7de5377ca7 objfloat: Try to achieve the same float printing format as CPython does. 11 years ago
Damien George ea8d06c39d py: Add MP_OBJ_STOP_ITERATION and make good use of it. 11 years ago
Damien George 9dcc60d0b1 py: Detect ZeroDivisionError properly for floats. 11 years ago
Damien George b8a053aeb1 py: Implement float and complex == and !=. 11 years ago
Damien George ae491055fa py: Fix float/complex binop returning NULL; implement complex power. 11 years ago
Damien George 60be1cf3b9 py: Fix float printing on stmhal. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Damien George b23fbb3126 py: Implement floating point power binop. 11 years ago
Paul Sokolovsky 96ed213320 objfloat: Quick&dirty implementation of float floor division. 11 years ago
Paul Sokolovsky 864038dab7 objfloat: Make sure that floats always have dot (for C "double" type case). 11 years ago
Paul Sokolovsky a8e60c1fde objfloat: Missing default: caused incorrect results for unimplemented ops. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 6e48f7fa85 py: Allow 'complex()' to take a string as first argument. 11 years ago
Damien George c06ea7abf2 py: Implement parsing of infinity and nan for floats. 11 years ago
Rachel Dowdall 300c8bd4c2 Added ZeroDivisionError to float division. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 9d68e9ccdd py: Implement integer overflow checking for * and << ops. 11 years ago
Damien George 8bfec2b538 Rename formatfloat file; remove MICROPY_ENABLE_FLOAT from mpconfigport.h. 11 years ago
Dave Hylands ca5a241e48 Add proper floating point printing support. 11 years ago
Damien George 0c36da0b59 Implement ROMable modules. Add math module. 11 years ago
Damien George 2077397118 py: Put number parsing code together in parsenum.c. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Damien George a71c83a1d1 Change mp_obj_type_t.name from const char * to qstr. 11 years ago
Damien George 099a9cb575 Remove mp_obj_new_exception_msg_1_arg and _2_arg. 11 years ago
Paul Sokolovsky d5df6cd44a Replace global "static" -> "STATIC", to allow "analysis builds". Part 1. 11 years ago
Damien George 9aa2a527b5 py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 11 years ago
Paul Sokolovsky c1d9bbc345 Implement __bool__ and __len__ via unary_op virtual method for all types. 11 years ago
mux 00a4da93e8 Fix implicit double conversion warning 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Damien George 20006dbba9 Make VM stack grow upwards, and so no reversed args arrays. 11 years ago
Paul Sokolovsky 76d982ef34 type->print(): Distinguish str() and repr() variety by passing extra param. 11 years ago
John R. Lenton b8698fca75 unified the bops 11 years ago
Damien George 93a9b5b64d py: Proper framework for built-in 'type'. 11 years ago
John R. Lenton 9c83ec0eda Merge remote-tracking branch 'upstream/master' into dict_feats 11 years ago
Damien George 1a9951d5aa py: Fix up number operations and coercion. 11 years ago
John R. Lenton 3391e19068 A bit of stylistic cleanup (chose the wrong side during conflict resolution). 11 years ago
John R. Lenton c06763a020 This implements a better (more python-conformant) list.sort. 11 years ago
Damien George e2e3d11e87 py: Fix up number operations and coercion. 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Paul Sokolovsky 860ffb0a43 Convert many object types structs to use C99 tagged initializer syntax. 11 years ago
Damien George 71c5181a8d Convert Python types to proper Python type hierarchy. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago