<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/mpz.h, branch v1.6</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.6</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.6'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-11-24T15:34:14+00:00</updated>
<entry>
<title>windows/py: Support 64bit mingw-w64 builds</title>
<updated>2015-11-24T15:34:14+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2015-11-20T14:59:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3baf6b531990dda109b9af065c94cf9eb9c0aac6'/>
<id>urn:sha1:3baf6b531990dda109b9af065c94cf9eb9c0aac6</id>
<content type='text'>
- add mp_int_t/mp_uint_t typedefs in mpconfigport.h
- fix integer suffixes/formatting in mpconfig.h and mpz.h
- use MICROPY_NLR_SETJMP=1 in Makefile since the current nlrx64.S
  implementation causes segfaults in gc_free()
- update README
</content>
</entry>
<entry>
<title>py/mpz: Force rhs of mpz_shl_inpl/mpz_shr_inpl to be unsigned.</title>
<updated>2015-10-01T17:01:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-01T17:01:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2f4e8511cd602a6110b3636c316b5cac21181bf3'/>
<id>urn:sha1:2f4e8511cd602a6110b3636c316b5cac21181bf3</id>
<content type='text'>
Python semantics are that rhs of shift must be non-negative, so there's
no need to handle negative values in the underlying mpz implementation.
</content>
</entry>
<entry>
<title>py/mpz: Fix calculation of max digit storage for mpz; fix sys.maxsize.</title>
<updated>2015-09-15T15:15:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-15T15:15:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8b4fb4fe140e9cf57fcfa258d0d2d6fe19090fc5'/>
<id>urn:sha1:8b4fb4fe140e9cf57fcfa258d0d2d6fe19090fc5</id>
<content type='text'>
When creating constant mpz's, the length of the mpz must be exactly how
many digits are used (not allocated) otherwise these numbers are not
compatible with dynamically allocated numbers.

Addresses issue #1448.
</content>
</entry>
<entry>
<title>py: Support conversion of bignum to bytes.</title>
<updated>2015-04-25T22:16:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-25T22:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=271d18eb08ec488ee45f8e6cd852e8236074f082'/>
<id>urn:sha1:271d18eb08ec488ee45f8e6cd852e8236074f082</id>
<content type='text'>
This gets int.to_bytes working for bignum, and also struct.pack with 'q'
and 'Q' args on 32-bit machines.

Addresses issue #1155.
</content>
</entry>
<entry>
<title>py: Allow MPZ_DIG_SIZE to be optionally configured by a port.</title>
<updated>2015-04-03T13:11:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-28T21:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3f327cc4c61bf7d55a0299009d5f6d3f38e66937'/>
<id>urn:sha1:3f327cc4c61bf7d55a0299009d5f6d3f38e66937</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Make some mpz functions static and remove unused ones.</title>
<updated>2015-03-12T22:48:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-12T15:59:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=848dd0e7620b086f984fc6254afc8202d5448a77'/>
<id>urn:sha1:848dd0e7620b086f984fc6254afc8202d5448a77</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Clean up and comment out unused functions in mpz.</title>
<updated>2015-03-02T12:58:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-02T12:58:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a2e383820d28dcf2167ae67089346ef5775cb669'/>
<id>urn:sha1:a2e383820d28dcf2167ae67089346ef5775cb669</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Be more machine-portable with size of bit fields.</title>
<updated>2015-01-24T23:12:58+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-24T23:12:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5c670acb1fdd04dcb9c220fee7cbeeb6b0c440e5'/>
<id>urn:sha1:5c670acb1fdd04dcb9c220fee7cbeeb6b0c440e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Fix float to int conversion for large exponents.</title>
<updated>2015-01-02T22:31:41+00:00</updated>
<author>
<name>David Steinberg</name>
<email>david.steinberg.dev@gmail.com</email>
</author>
<published>2015-01-02T12:39:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6e0b6d02dbe238e6e3d675b51e44b2ac798ddd20'/>
<id>urn:sha1:6e0b6d02dbe238e6e3d675b51e44b2ac798ddd20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Move to guarded includes, everywhere in py/ core.</title>
<updated>2015-01-01T20:32:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T20:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=51dfcb4bb7613ed164952712d9a5235a7b833cde'/>
<id>urn:sha1:51dfcb4bb7613ed164952712d9a5235a7b833cde</id>
<content type='text'>
Addresses issue #1022.
</content>
</entry>
</feed>
