summaryrefslogtreecommitdiff
path: root/py/objint.c
AgeCommit message (Expand)Author
2014-04-18py: Allow to pass buffer protocol flags to get_buffer helper funcs.Damien George
2014-04-18py: Add typecode to buffer protocol.Damien George
2014-04-17py: Add MP_OBJ_STOP_ITERATION and make good use of it.Damien George
2014-04-13py: Oops, fix int.from_bytes to correctly convert bytes!Damien George
2014-04-13py: Make int.from_bytes a classmethod; support arbitrary length buf.Damien George
2014-04-08py: Make it so that printing a small int does not allocate heap memory.Damien George
2014-04-09objint: Implement int.from_bytes() class method and .to_bytes() method.Paul Sokolovsky
2014-04-07Fix truncation problem when using longlong implementation.Dave Hylands
2014-04-07Add string formatting support for longlong and mpz.Dave Hylands
2014-04-05py: Change nlr_jump to nlr_raise, to aid in debugging.Damien George
2014-04-04py: Make False and True act like 0 and 1 for integer arithmetic.Damien George
2014-04-02py: Allow multiple of str/list/tuple on left by an integer.Damien George
2014-03-30py: Add explicit conversion from float to int via int().Damien George
2014-03-29py: Rename old const type objects to mp_type_* for consistency.Damien George
2014-03-22py: Add function to convert long int to float.Damien George
2014-03-17py: Clean up includes.xbe
2014-03-12py: Implement integer overflow checking for * and << ops.Damien George
2014-02-22Add arbitrary precision integer support.Damien George
2014-02-22py: Put number parsing code together in parsenum.c.Damien George
2014-02-22py: Rename strtonum to mp_strtonum.Damien George
2014-02-22py: Fix casting and printing of small int.Damien George
2014-02-15Implement proper exception type hierarchy.Damien George
2014-02-15Change mp_obj_type_t.name from const char * to qstr.Damien George
2014-02-12Remove mp_obj_new_exception_msg_1_arg and _2_arg.Damien George
2014-02-12Replace global "static" -> "STATIC", to allow "analysis builds". Part 1.Paul Sokolovsky
2014-02-08Make mp_obj_str_get_data return char* instead of byte*.Damien George
2014-01-27long int: Implement more operations.Paul Sokolovsky
2014-01-22Second stage of qstr revamp: uPy str object can be qstr or not.Damien George
2014-01-21Revamp qstrs: they now include length and hash.Damien George
2014-01-18Merge branch 'master' of github.com:dpgeorge/micropythonDamien George
2014-01-18int: Add value accessors: mp_obj_int_get() & mp_obj_int_get_checked().Paul Sokolovsky
2014-01-18Make VM stack grow upwards, and so no reversed args arrays.Damien George
2014-01-18Add OverflowError and use it for small int overflow instead of assert.Paul Sokolovsky
2014-01-15Merge branch 'str2int' of github.com:xyb/micropython into xyb-str2intDamien George
2014-01-15add more tests and remove debug codexyb
2014-01-15type->print(): Distinguish str() and repr() variety by passing extra param.Paul Sokolovsky
2014-01-14support int(str, basbase)xyb
2014-01-14Implemented int(str) in UNIXxyb
2014-01-13Move mp_obj_int_t definition to objint.h, to reuse in long int impls.Paul Sokolovsky
2014-01-13Cleanup built-ins, and fix some compiler warnings/errors.Damien George
2014-01-12Add framework to support alternative implementations of long int Python type.Paul Sokolovsky
2014-01-07Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ian-v-c...Damien George
2014-01-06Co-exist with C++ (issue #85)ian-v
2014-01-05Convert many object types structs to use C99 tagged initializer syntax.Paul Sokolovsky
2014-01-05Oops: add objint.cDamien George