<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/float/float2int_fp30.py, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-03-06T15:30:12+00:00</updated>
<entry>
<title>tests/float2int*: Suffix with _intbig, don't run on any other int type.</title>
<updated>2017-03-06T15:30:12+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-03-06T15:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4b03941f5e3f7b6b722303a7cf7aedcd75a4a13f'/>
<id>urn:sha1:4b03941f5e3f7b6b722303a7cf7aedcd75a4a13f</id>
<content type='text'>
I.e. they don't run successfully with MICROPY_LONGINT_IMPL_NONE
and MICROPY_LONGINT_IMPL_LONGLONG (the problem is that they generate
different output than CPython, TODO to fix that).
</content>
</entry>
<entry>
<title>float/float2int*: Make actually be parsable for MICROPY_LONGINT_IMPL_NONE.</title>
<updated>2017-03-06T15:23:09+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-03-06T15:23:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=121fb88988fd4b4511476231943e999cf38b2866'/>
<id>urn:sha1:121fb88988fd4b4511476231943e999cf38b2866</id>
<content type='text'>
The use of large literal numbers is a big no-no when it comes to writing
programs which work with different int representations. Also, some checks
are pretty adhoc (e.g using struct module to check for 64-bitness). This
change bases entire detection on sys.maxsize and integer operarions, and
thus more correct, even if longer.

Note that this change doesn't mean that any of these tests can pass with
anything but MPZ - even despite checking for various int representations,
the tests aren't written to be portable among them.
</content>
</entry>
<entry>
<title>test/float2int_fp30: Variant of float2int for 30-bit stuffed float.</title>
<updated>2016-03-06T04:08:38+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-02-13T14:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=50e0a7b9d4f8805df88d87a4b0a6bfdeb3f25853'/>
<id>urn:sha1:50e0a7b9d4f8805df88d87a4b0a6bfdeb3f25853</id>
<content type='text'>
</content>
</entry>
</feed>
