<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objint_mpz.c, branch v1.9.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-07-31T08:35:40+00:00</updated>
<entry>
<title>all: Use the name MicroPython consistently in comments</title>
<updated>2017-07-31T08:35:40+00:00</updated>
<author>
<name>Alexander Steffen</name>
<email>devel.20.webmeister@spamgourmet.com</email>
</author>
<published>2017-06-30T07:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55f33240f3d7051d4213629e92437a36f1fac50e'/>
<id>urn:sha1:55f33240f3d7051d4213629e92437a36f1fac50e</id>
<content type='text'>
There were several different spellings of MicroPython present in comments,
when there should be only one.
</content>
</entry>
<entry>
<title>py: Implement raising a big-int to a negative power.</title>
<updated>2017-07-25T01:49:22+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-07-25T01:49:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04552ff71b6c722b21597d93481f024c72457cef'/>
<id>urn:sha1:04552ff71b6c722b21597d93481f024c72457cef</id>
<content type='text'>
Before this patch raising a big-int to a negative power would just return
0.  Now it returns a floating-point number with the correct value.
</content>
</entry>
<entry>
<title>extmod/moductypes: Fix bigint handling for 32-bit ports.</title>
<updated>2017-04-21T13:43:21+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-04-21T13:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9e8f3163924c1f429f16f44a4a27b0cd33064719'/>
<id>urn:sha1:9e8f3163924c1f429f16f44a4a27b0cd33064719</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objint: Consolidate mp_obj_new_int_from_float to one implementation.</title>
<updated>2017-04-04T06:45:49+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-04-04T06:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fc245d1ca4367f9876ac32c7e08e169da7db79b9'/>
<id>urn:sha1:fc245d1ca4367f9876ac32c7e08e169da7db79b9</id>
<content type='text'>
This reduces code duplication and allows to make mp_classify_fp_as_int
static, which reduces code size.
</content>
</entry>
<entry>
<title>py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.</title>
<updated>2017-03-28T11:37:26+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-28T11:37:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=94c41bb06f6482ece0717c5bd63266b8da063caa'/>
<id>urn:sha1:94c41bb06f6482ece0717c5bd63266b8da063caa</id>
<content type='text'>
Saves 168 bytes on bare-arm.
</content>
</entry>
<entry>
<title>py/objint: Convert mp_uint_t to size_t where appropriate.</title>
<updated>2017-02-16T05:51:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-16T05:41:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=da36f5232dcf02c448ee9933e358b711cfe03f30'/>
<id>urn:sha1:da36f5232dcf02c448ee9933e358b711cfe03f30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Added optimised support for 3-argument calls to builtin.pow()</title>
<updated>2017-02-02T19:23:10+00:00</updated>
<author>
<name>Nicko van Someren</name>
<email>nicko@nicko.org</email>
</author>
<published>2017-02-01T23:41:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=df0117c8ae213a0652c3b19a969edc7fd994eeab'/>
<id>urn:sha1:df0117c8ae213a0652c3b19a969edc7fd994eeab</id>
<content type='text'>
Updated modbuiltin.c to add conditional support for 3-arg calls to
pow() using MICROPY_PY_BUILTINS_POW3 config parameter. Added support in
objint_mpz.c for for optimised implementation.
</content>
</entry>
<entry>
<title>py/objint: from_bytes(): Implement "byteorder" param and arbitrary precision.</title>
<updated>2017-01-21T17:14:18+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-01-21T17:14:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bec7bfb29d76f995dbf223c20f5d04ae1e33cee6'/>
<id>urn:sha1:bec7bfb29d76f995dbf223c20f5d04ae1e33cee6</id>
<content type='text'>
If result guaranteedly fits in a small int, it is handled in objint.c.
Otherwise, it is delegated to mp_obj_int_from_bytes_impl(), which should
be implemented by individual objint_*.c, similar to
mp_obj_int_to_bytes_impl().
</content>
</entry>
<entry>
<title>py/objint_mpz: Refactor switch-statement to remove unreachable default.</title>
<updated>2017-01-19T12:35:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-19T12:35:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e873243aa3487d21b3a7420eeacba73aefd6fcef'/>
<id>urn:sha1:e873243aa3487d21b3a7420eeacba73aefd6fcef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objint: Rename mp_obj_int_as_float to mp_obj_int_as_float_impl.</title>
<updated>2016-12-21T00:46:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-12-21T00:46:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e4af71212550d950269f6991be187f41dcf64eee'/>
<id>urn:sha1:e4af71212550d950269f6991be187f41dcf64eee</id>
<content type='text'>
And also simplify it to remove the check for small int.  This can be done
because this function is only ever called if the argument is not a small
int.
</content>
</entry>
</feed>
