<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objint_longlong.c, branch v1.4.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-03-14T22:07:30+00:00</updated>
<entry>
<title>py: Fix builtin abs so it works for bools and bignum.</title>
<updated>2015-03-14T22:07:30+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-14T22:07:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6837d46c1da0e7dd9cf73969bb58649222f455a4'/>
<id>urn:sha1:6837d46c1da0e7dd9cf73969bb58649222f455a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Use float-to-int classifications for mp_obj_new_int_from_float() functions</title>
<updated>2015-01-24T20:54:28+00:00</updated>
<author>
<name>David Steinberg</name>
<email>david.steinberg.dev@gmail.com</email>
</author>
<published>2015-01-13T15:22:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0fb17f6ef46ade018a3fda8d4266f15638ddf5e3'/>
<id>urn:sha1:0fb17f6ef46ade018a3fda8d4266f15638ddf5e3</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>
<entry>
<title>py: Partially fix float to int conversion.</title>
<updated>2014-12-29T22:22:50+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-12-29T22:22:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=12033df511a5a5f0237a764379aacfbceb6c45dd'/>
<id>urn:sha1:12033df511a5a5f0237a764379aacfbceb6c45dd</id>
<content type='text'>
This fixes conversion when float type has more mantissa bits than small int,
and float value has small exponent. This is for example the case of 32-bit
platform using doubles, and converting value of time.time(). Conversion of
floats with larg exponnet is still not handled correctly.
</content>
</entry>
<entry>
<title>py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack.</title>
<updated>2014-12-05T23:13:52+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-12-05T23:13:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=be6d8be91e133e98117025062df0e63aaf87efd2'/>
<id>urn:sha1:be6d8be91e133e98117025062df0e63aaf87efd2</id>
<content type='text'>
mp_obj_int_get_truncated is used as a "fast path" int accessor that
doesn't check for overflow and returns the int truncated to the machine
word size, ie mp_int_t.

Use mp_obj_int_get_truncated to fix struct.pack when packing maximum word
sized values.

Addresses issues #779 and #998.
</content>
</entry>
<entry>
<title>py: Enable struct/binary-helper to parse q and Q sized ints.</title>
<updated>2014-09-10T21:10:33+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-10T21:10:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=953074315e594f5a30f455dc6a1a67340a3e6ea7'/>
<id>urn:sha1:953074315e594f5a30f455dc6a1a67340a3e6ea7</id>
<content type='text'>
Addresses issue #848.
</content>
</entry>
<entry>
<title>py: Correctly set sys.maxsize value for 64-bit.</title>
<updated>2014-09-06T17:22:06+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-09-06T16:17:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=722e562736f83865333d8b3dd942f903b9db8a7c'/>
<id>urn:sha1:722e562736f83865333d8b3dd942f903b9db8a7c</id>
<content type='text'>
Type representing signed size doesn't have to be int, so use special value
which defaults to SSIZE_MAX, but as it's not defined by C standard (but rather
by POSIX), allow ports to set it.
</content>
</entry>
<entry>
<title>Change some parts of the core API to use mp_uint_t instead of uint/int.</title>
<updated>2014-08-29T23:35:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-29T23:35:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ecc88e949ca5e307d22da4605a40d39ea2df9e3b'/>
<id>urn:sha1:ecc88e949ca5e307d22da4605a40d39ea2df9e3b</id>
<content type='text'>
Addressing issue #50, still some way to go yet.
</content>
</entry>
<entry>
<title>py: Make long ints hashable.</title>
<updated>2014-07-24T13:21:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-24T13:21:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ffe911d228c3b7e35ef6ae775c802cdd05cffa47'/>
<id>urn:sha1:ffe911d228c3b7e35ef6ae775c802cdd05cffa47</id>
<content type='text'>
Addresses issue #765.
</content>
</entry>
<entry>
<title>py: Implement sys.maxsize, standard way to check platform "bitness".</title>
<updated>2014-07-03T15:09:36+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-07-03T13:50:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4e0eeebdc2b452277c24f554c444f0cc0de9e4ea'/>
<id>urn:sha1:4e0eeebdc2b452277c24f554c444f0cc0de9e4ea</id>
<content type='text'>
Implementing it as a static constant is a bit peculiar and require cooperation
from long int implementation.
</content>
</entry>
</feed>
