<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/basics/int_big_mod.py, branch 6.0.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-05-08T21:21:21+00:00</updated>
<entry>
<title>py/mpz: Do Python style division/modulo within bignum divmod routine.</title>
<updated>2016-05-08T21:21:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-08T21:21:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=65402ab1ec05fd552ceae63e2dcac69095ab1338'/>
<id>urn:sha1:65402ab1ec05fd552ceae63e2dcac69095ab1338</id>
<content type='text'>
This patch consolidates the Python logic for division/modulo to one place
within the bignum code.
</content>
</entry>
<entry>
<title>py/mpz: Fix bug with overflowing C-shift in division routine.</title>
<updated>2016-05-08T20:38:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-08T20:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dc3faea0405dea803828f5a2be314734b8c166b6'/>
<id>urn:sha1:dc3faea0405dea803828f5a2be314734b8c166b6</id>
<content type='text'>
When DIG_SIZE=32, a uint32_t is used to store limbs, and no normalisation
is needed because the MSB is already set, then there will be left and
right shifts (in C) by 32 of a 32-bit variable, leading to undefined
behaviour.  This patch fixes this bug.
</content>
</entry>
<entry>
<title>tests: Rename test scripts, changing - to _ for consistency.</title>
<updated>2014-07-05T05:14:29+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-05T05:14:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=539681fffd96082ca3b5d18643d4f08f65c47170'/>
<id>urn:sha1:539681fffd96082ca3b5d18643d4f08f65c47170</id>
<content type='text'>
From now on, all new tests must use underscore.

Addresses issue #727.
</content>
</entry>
</feed>
