<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/float/complex1.py, branch 6.0.0-alpha.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.0-alpha.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.0-alpha.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-10-10T05:01:13+00:00</updated>
<entry>
<title>py/formatfloat: Don't print the negative sign of a NaN value.</title>
<updated>2017-10-10T05:01:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-10-04T12:15:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=08a196697c5dfb8cbe3b3e85c1c5f94e3a27804c'/>
<id>urn:sha1:08a196697c5dfb8cbe3b3e85c1c5f94e3a27804c</id>
<content type='text'>
NaN may have the sign bit set but it has no meaning, so don't print it out.
</content>
</entry>
<entry>
<title>py/objfloat: Support raising a negative number to a fractional power.</title>
<updated>2017-09-26T02:57:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-09-26T02:57:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bdc6e86e079dd8a82e9ead1d4041c2e17c882437'/>
<id>urn:sha1:bdc6e86e079dd8a82e9ead1d4041c2e17c882437</id>
<content type='text'>
This returns a complex number, following CPython behaviour.  For ports that
don't have complex numbers enabled this will raise a ValueError which gives
a fail-safe for scripts that were written assuming complex numbers exist.
</content>
</entry>
<entry>
<title>py/obj: Fix comparison of float/complex NaN with itself.</title>
<updated>2017-09-04T04:16:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-09-04T04:16:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d4b75f6b6822885e331c69a74e56e23af40a6264'/>
<id>urn:sha1:d4b75f6b6822885e331c69a74e56e23af40a6264</id>
<content type='text'>
IEEE floating point is specified such that a comparison of NaN with itself
returns false, and Python respects these semantics.  This patch makes uPy
also have these semantics.  The fix has a minor impact on the speed of the
object-equality fast-path, but that seems to be unavoidable and it's much
more important to have correct behaviour (especially in this case where
the wrong answer for nan==nan is silently returned).
</content>
</entry>
<entry>
<title>tests/float: Add tests for hashing float and complex numbers.</title>
<updated>2017-04-04T02:14:34+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-04-04T02:14:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=677fb3101525bc655d9fd548b8c2cecfc8deefd2'/>
<id>urn:sha1:677fb3101525bc655d9fd548b8c2cecfc8deefd2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/float/complex1: Split out intbig test.</title>
<updated>2017-03-06T14:46:01+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-03-06T14:46:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=325c4473a5b760a2251a6e0e418abf218741fb1f'/>
<id>urn:sha1:325c4473a5b760a2251a6e0e418abf218741fb1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/float: Add tests for zero to a negative power.</title>
<updated>2017-02-02T13:04:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-02T13:04:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8a39e18f5fc960eb0901b8e219b7026ebe466f3d'/>
<id>urn:sha1:8a39e18f5fc960eb0901b8e219b7026ebe466f3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/float: Add test for assigning to attribute of complex number.</title>
<updated>2017-01-19T12:37:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-19T12:37:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=213a7189537fc7b9cc96f0259e5b7b9e46121927'/>
<id>urn:sha1:213a7189537fc7b9cc96f0259e5b7b9e46121927</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add tests to improve coverage of runtime.c.</title>
<updated>2016-12-21T04:44:41+00:00</updated>
<author>
<name>Rami Ali</name>
<email>flowergrass@users.noreply.github.com</email>
</author>
<published>2016-12-21T03:47:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=531c206e8b2e4d1af735af473c2fdeb8c1b36247'/>
<id>urn:sha1:531c206e8b2e4d1af735af473c2fdeb8c1b36247</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Fix printing of complex number when imaginary part is nan</title>
<updated>2015-05-13T22:10:15+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2015-05-13T19:35:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=709955b601a0b7de7a85e91d97846660979904a7'/>
<id>urn:sha1:709955b601a0b7de7a85e91d97846660979904a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add tests to exercise lexer; and some more complex number tests.</title>
<updated>2015-04-04T22:16:22+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-04T22:16:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=97abe22963af5b62656cef5a46c195215f75f7d2'/>
<id>urn:sha1:97abe22963af5b62656cef5a46c195215f75f7d2</id>
<content type='text'>
</content>
</entry>
</feed>
