summaryrefslogtreecommitdiffstatshomepage
path: root/py/objint.c
Commit message (Expand)AuthorAge
* py/objint: In int.from_bytes, only create big-int if really needed.Damien George2017-05-06
* py/objint: Use unsigned arithmetic when formatting an integer.Damien George2017-04-11
* py/objint: Extract small int value directly because type is known.Damien George2017-04-11
* py/objint: Consolidate mp_obj_new_int_from_float to one implementation.Damien George2017-04-04
* py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.Damien George2017-03-29
* py/objint: Handle special case of -0 when classifying fp as int.Damien George2017-03-23
* py/objint: Allow to print long-long ints without using the heap.Damien George2017-03-14
* py/objint: Convert mp_uint_t to size_t where appropriate.Damien George2017-02-16
* py/objint: Fix left-shift overflow in checking for large int.Damien George2017-01-25
* py/objint: from_bytes(): Implement "byteorder" param and arbitrary precision.Paul Sokolovsky2017-01-21
* py/objint: Simplify mp_int_format_size and remove unreachable code.Damien George2016-12-28
* py/objint: Rename mp_obj_int_as_float to mp_obj_int_as_float_impl.Damien George2016-12-21
* py/objint: from_bytes, to_bytes: Require byteorder arg, require "little".Paul Sokolovsky2016-12-09
* py: Use mp_raise_msg helper function where appropriate.Damien George2016-10-17
* py/objint: Use size_t for arguments that measure bytes/sizes.Damien George2016-10-11
* py: Factor duplicated function to calculate size of formatted int.Damien George2016-10-11
* py: Use MP_SMALL_INT_POSITIVE_MASK to check if uint fits in a small int.Damien George2016-03-10
* py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George2016-01-11
* py: Change type signature of builtin funs that take variable or kw args.Damien George2016-01-11
* py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George2016-01-11
* py/objint: Fix classification of float so it works for OBJ_REPR_D.Damien George2016-01-08
* py: Change mp_obj_int_is_positive to more general mp_obj_int_sign.Damien George2016-01-07
* py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George2015-11-29
* py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George2015-11-29
* py: Add mp_obj_is_float function (macro) and use it where appropriate.Damien George2015-10-20
* py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function.Damien George2015-05-12
* py: Support conversion of bignum to bytes.Damien George2015-04-25
* py: Overhaul and simplify printf/pfenv mechanism.Damien George2015-04-16
* py: Fix builtin abs so it works for bools and bignum.Damien George2015-03-14
* py: Use m_{new,renew,del} consistently.Damien George2015-02-27
* py: Parse big-int/float/imag constants directly in parser.Damien George2015-02-08
* py: Use float-to-int classifications for mp_obj_new_int_from_float() functionsDavid Steinberg2015-01-24
* py: Add float-to-int classification functionDavid Steinberg2015-01-24
* py: Remove mp_obj_str_builder and use vstr instead.Damien George2015-01-21
* py, unix: Allow to compile with -Wunused-parameter.Damien George2015-01-20
* py, unix: Allow to compile with -Wsign-compare.Damien George2015-01-16
* py: Move to guarded includes, everywhere in py/ core.Damien George2015-01-01
* py: Implement mp_obj_new_int_from_float() for MICROPY_LONGINT_IMPL_NONE.Paul Sokolovsky2014-12-30
* py: Partially fix float to int conversion.Paul Sokolovsky2014-12-30
* py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack.Damien George2014-12-05
* py: Make int.to_bytes work on big endian machine.Damien George2014-10-06
* py: Convert [u]int to mp_[u]int_t where appropriate.Damien George2014-10-03
* py: Enable struct/binary-helper to parse q and Q sized ints.Damien George2014-09-10
* py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h.Damien George2014-08-30
* py: Change all uint to mp_uint_t in obj.h.Damien George2014-08-30
* py: Save about 200 bytes of ROM by using smaller type for static table.Damien George2014-08-30
* Change some parts of the core API to use mp_uint_t instead of uint/int.Damien George2014-08-30
* py: Improve efficiency of MP_OBJ_IS_STR_OR_BYTES.Damien George2014-08-27
* Make int(b'123') work properly.Dave Hylands2014-08-26
* py: Fix mult by negative number of tuple, list, str, bytes.Damien George2014-08-13