index
:
suspect-devices/circuitpython
1.x
2.x
3.x
4.0.x
4.1.x
4.x
5.0.x
5.1.x
5.3.x
6.0.x
6.1.x
6.2.x
audiocore-rawsample-sinewave
azure
azure-pipelines
cross
dm-mixer
dynamic-native-modules
encoding
esp-extra-scripts
fix_typo_spanish
iabdalkader-cc3k-update
jepler-try-ubuntu-20.04
main
master
parse-bytecode
reentrant-gc
stable
travis-clang
travis-esp8266
travis-stackless
travis-testing
type_hints
CircuitPython - a Python implementation for teaching coding with microcontrollers
feurig
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
py
/
objint.c
Age
Commit message (
Expand
)
Author
2020-02-14
Implement to_bytes(..., signed=True)
Dan Halbert
2019-05-12
use approx of original @godlygeek code for smallints; add tests
Dan Halbert
2019-05-12
Handle truth values; speed up smallint checks
Dan Halbert
2019-05-09
Reverse int to bytes buffer overflow conditionals
Matt Wozniski
2019-05-09
Use OverflowError exception type for overflows
Matt Wozniski
2019-05-09
Add overflow checks for int to bytes conversions
Matt Wozniski
2019-01-14
py changes for supporting superclass constructors that take kwargs
Scott Shawcroft
2018-08-09
Two fixes and translate more strings.
Scott Shawcroft
2018-03-02
py/objint: Remove unreachable code checking for int type in format func.
Damien George
2018-02-21
py/objint: Use MP_OBJ_IS_STR_OR_BYTES macro instead of 2 separate ones.
Damien George
2017-10-04
all: Remove inclusion of internal py header files.
Damien George
2017-09-18
py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS.
Paul Sokolovsky
2017-08-29
all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate
Damien George
2017-07-31
all: Use the name MicroPython consistently in comments
Alexander Steffen
2017-07-07
py,extmod: Some casts and minor refactors to quiet compiler warnings.
Tom Collins
2017-06-15
py/objint: In to_bytes(), allow length arg to be any int and check sign.
Damien George
2017-06-15
py/objint: Support "big" byte-order in int.to_bytes().
Damien George
2017-05-06
py/objint: In int.from_bytes, only create big-int if really needed.
Damien George
2017-04-11
py/objint: Use unsigned arithmetic when formatting an integer.
Damien George
2017-04-11
py/objint: Extract small int value directly because type is known.
Damien George
2017-04-04
py/objint: Consolidate mp_obj_new_int_from_float to one implementation.
Damien George
2017-03-29
py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.
Damien George
2017-03-23
py/objint: Handle special case of -0 when classifying fp as int.
Damien George
2017-03-14
py/objint: Allow to print long-long ints without using the heap.
Damien George
2017-02-16
py/objint: Convert mp_uint_t to size_t where appropriate.
Damien George
2017-01-25
py/objint: Fix left-shift overflow in checking for large int.
Damien George
2017-01-21
py/objint: from_bytes(): Implement "byteorder" param and arbitrary precision.
Paul Sokolovsky
2016-12-28
py/objint: Simplify mp_int_format_size and remove unreachable code.
Damien George
2016-12-21
py/objint: Rename mp_obj_int_as_float to mp_obj_int_as_float_impl.
Damien George
2016-12-09
py/objint: from_bytes, to_bytes: Require byteorder arg, require "little".
Paul Sokolovsky
2016-10-17
py: Use mp_raise_msg helper function where appropriate.
Damien George
2016-10-11
py/objint: Use size_t for arguments that measure bytes/sizes.
Damien George
2016-10-11
py: Factor duplicated function to calculate size of formatted int.
Damien George
2016-03-10
py: Use MP_SMALL_INT_POSITIVE_MASK to check if uint fits in a small int.
Damien George
2016-01-11
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
Damien George
2016-01-11
py: Change type signature of builtin funs that take variable or kw args.
Damien George
2016-01-11
py: Change type of .make_new and .call args: mp_uint_t becomes size_t.
Damien George
2016-01-08
py/objint: Fix classification of float so it works for OBJ_REPR_D.
Damien George
2016-01-07
py: Change mp_obj_int_is_positive to more general mp_obj_int_sign.
Damien George
2015-11-29
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
Damien George
2015-11-29
py: Add MP_ROM_* macros and mp_rom_* types and use them.
Damien George
2015-10-20
py: Add mp_obj_is_float function (macro) and use it where appropriate.
Damien George
2015-05-12
py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function.
Damien George
2015-04-25
py: Support conversion of bignum to bytes.
Damien George
2015-04-16
py: Overhaul and simplify printf/pfenv mechanism.
Damien George
2015-03-14
py: Fix builtin abs so it works for bools and bignum.
Damien George
2015-02-27
py: Use m_{new,renew,del} consistently.
Damien George
2015-02-08
py: Parse big-int/float/imag constants directly in parser.
Damien George
2015-01-24
py: Use float-to-int classifications for mp_obj_new_int_from_float() functions
David Steinberg
2015-01-24
py: Add float-to-int classification function
David Steinberg
[next]