25 Commits (3fd2d7fad2022e3f26304fbc6ad74e6d8dd66e5f)

Author SHA1 Message Date
Damien George ea8d06c39d py: Add MP_OBJ_STOP_ITERATION and make good use of it. 11 years ago
Damien George 8f19317540 py: Remove useless implementations of NOT_EQUAL in binary_op's. 11 years ago
Damien George 88d7bba961 py: Make it so that printing a small int does not allocate heap memory. 11 years ago
Dave Hylands c4029e5079 Add string formatting support for longlong and mpz. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Damien George e8208a7f02 py: Make False and True act like 0 and 1 for integer arithmetic. 11 years ago
Damien George 660aef67c4 py: Allow multiple of str/list/tuple on left by an integer. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 3e1a5c10c5 py: Rename old const type objects to mp_type_* for consistency. 11 years ago
Damien George eabdf6718a py: Add function to convert long int to float. 11 years ago
Damien George d02f6eaa10 py: Fix int-longlong binary operations. 11 years ago
Damien George c412998c49 py: Add comment about bugs in objint_longlong.c. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 438c88dd2f Add arbitrary precision integer support. 11 years ago
Damien George 0379b55ab0 py: Fix casting and printing of small int. 11 years ago
Paul Sokolovsky 4d0588df56 objint_longlong: Don't assert on invalid syntax, raise SyntaxError instead. 11 years ago
Paul Sokolovsky 8bc3516389 ffi: Implement ffivar.get()/set() methods. 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
Paul Sokolovsky 9b00dad7bb long int: Implement more operations. 11 years ago
Damien George 5fa93b6755 Second stage of qstr revamp: uPy str object can be qstr or not. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Paul Sokolovsky d26b379eec int: Add value accessors: mp_obj_int_get() & mp_obj_int_get_checked(). 11 years ago
Paul Sokolovsky 966879cf59 Add long int implementation using C long long type, enable for unix port. 11 years ago