summaryrefslogtreecommitdiff
path: root/py/objint.c
AgeCommit message (Expand)Author
2016-12-28py/objint: Simplify mp_int_format_size and remove unreachable code.Damien George
2016-12-21py/objint: Rename mp_obj_int_as_float to mp_obj_int_as_float_impl.Damien George
2016-12-09py/objint: from_bytes, to_bytes: Require byteorder arg, require "little".Paul Sokolovsky
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-10-11py/objint: Use size_t for arguments that measure bytes/sizes.Damien George
2016-10-11py: Factor duplicated function to calculate size of formatted int.Damien George
2016-03-10py: Use MP_SMALL_INT_POSITIVE_MASK to check if uint fits in a small int.Damien George
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
2016-01-11py: Change type signature of builtin funs that take variable or kw args.Damien George
2016-01-11py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George
2016-01-08py/objint: Fix classification of float so it works for OBJ_REPR_D.Damien George
2016-01-07py: Change mp_obj_int_is_positive to more general mp_obj_int_sign.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-11-29py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George
2015-10-20py: Add mp_obj_is_float function (macro) and use it where appropriate.Damien George
2015-05-12py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function.Damien George
2015-04-25py: Support conversion of bignum to bytes.Damien George
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-03-14py: Fix builtin abs so it works for bools and bignum.Damien George
2015-02-27py: Use m_{new,renew,del} consistently.Damien George
2015-02-08py: Parse big-int/float/imag constants directly in parser.Damien George
2015-01-24py: Use float-to-int classifications for mp_obj_new_int_from_float() functionsDavid Steinberg
2015-01-24py: Add float-to-int classification functionDavid Steinberg
2015-01-21py: Remove mp_obj_str_builder and use vstr instead.Damien George
2015-01-20py, unix: Allow to compile with -Wunused-parameter.Damien George
2015-01-16py, unix: Allow to compile with -Wsign-compare.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-12-30py: Implement mp_obj_new_int_from_float() for MICROPY_LONGINT_IMPL_NONE.Paul Sokolovsky
2014-12-30py: Partially fix float to int conversion.Paul Sokolovsky
2014-12-05py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack.Damien George
2014-10-06py: Make int.to_bytes work on big endian machine.Damien George
2014-10-03py: Convert [u]int to mp_[u]int_t where appropriate.Damien George
2014-09-10py: Enable struct/binary-helper to parse q and Q sized ints.Damien George
2014-08-30py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h.Damien George
2014-08-30py: Change all uint to mp_uint_t in obj.h.Damien George
2014-08-30py: Save about 200 bytes of ROM by using smaller type for static table.Damien George
2014-08-30Change some parts of the core API to use mp_uint_t instead of uint/int.Damien George
2014-08-27py: Improve efficiency of MP_OBJ_IS_STR_OR_BYTES.Damien George
2014-08-26Make int(b'123') work properly.Dave Hylands
2014-08-13py: Fix mult by negative number of tuple, list, str, bytes.Damien George
2014-07-31py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself.Damien George
2014-07-24py: Make long ints hashable.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-06-06objint: Fix corner case in buffer access.Paul Sokolovsky
2014-06-01Rename bultins config variables to MICROPY_PY_BUILTINS_*.Damien George
2014-05-28py: Fix check of small-int overflow when parsing ints.Damien George
2014-05-28py: Make int(<longint>) work by just returning the longint.Damien George
2014-05-28py: Implement long int parsing in int(...).Damien George
2014-05-21py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL.Damien George
2014-05-17py: Fix mp_obj_t -> mp_const_obj_t for mp_obj_int_get_checked()Sven Wegener