22 Commits (5e22afce41de8c87071d8fc149a6ba3cd8762819)

Author SHA1 Message Date
Damien George d6b31e4578 py: Change mp_obj_int_is_positive to more general mp_obj_int_sign. 9 years ago
Damien George 271d18eb08 py: Support conversion of bignum to bytes. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George 6837d46c1d py: Fix builtin abs so it works for bools and bignum. 10 years ago
David Steinberg ca377b10de py: Add float-to-int classification function 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 42f3de924b py: Convert [u]int to mp_[u]int_t where appropriate. 10 years ago
Damien George b92cbe6129 py: Move definition of mp_sys_exit to core. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Damien George ffe911d228 py: Make long ints hashable. 10 years ago
Paul Sokolovsky ab7bf28489 py: More const usage. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 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 e8208a7f02 py: Make False and True act like 0 and 1 for integer arithmetic. 11 years ago
Damien George 438c88dd2f Add arbitrary precision integer support. 11 years ago
Damien George 96056a6272 py: Revent some long int configuration. 11 years ago
Damien George 36109d246f Small change to configuration of long int. 11 years ago
Paul Sokolovsky 8bc3516389 ffi: Implement ffivar.get()/set() methods. 11 years ago
Paul Sokolovsky 9b00dad7bb long int: Implement more operations. 11 years ago
Paul Sokolovsky 76d982ef34 type->print(): Distinguish str() and repr() variety by passing extra param. 11 years ago
Paul Sokolovsky 76a90f2f60 Move mp_obj_int_t definition to objint.h, to reuse in long int impls. 11 years ago