<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/float/float1.py, branch v1.8.7</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.7</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.7'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-12-21T04:44:41+00:00</updated>
<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>tests/float: Add test for parsing a float from an empty string.</title>
<updated>2016-09-27T05:44:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-27T05:44:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=290daa15d9111b3ae7390245406ce95bff6598e8'/>
<id>urn:sha1:290daa15d9111b3ae7390245406ce95bff6598e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/lexer: Properly classify floats that look like hex numbers.</title>
<updated>2015-09-07T16:33:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-07T16:33:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2b000474d9350ede1c1aedb83ba8976d81ba4cf8'/>
<id>urn:sha1:2b000474d9350ede1c1aedb83ba8976d81ba4cf8</id>
<content type='text'>
Eg 0e0 almost looks like a hex number but in fact is a float.
</content>
</entry>
<entry>
<title>py: Implement mp_format_float for doubles and use where appropriate</title>
<updated>2015-05-17T20:47:11+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2015-05-16T08:54:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=861670ba2ad6fe575de4a31c95c01070ed900391'/>
<id>urn:sha1:861670ba2ad6fe575de4a31c95c01070ed900391</id>
<content type='text'>
This allows using (almost) the same code for printing floats everywhere,
removes the dependency on sprintf and uses just snprintf and
applies an msvc-specific fix for snprintf in a single place so
nan/inf are now printed correctly.
</content>
</entry>
<entry>
<title>py: Fix printing of "inf" and "nan" floating point values.</title>
<updated>2015-04-22T15:51:29+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-22T15:51:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=956d76578634a86ea50246de45add748b96cb4ec'/>
<id>urn:sha1:956d76578634a86ea50246de45add748b96cb4ec</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>
<entry>
<title>tests: Add missing tests for builtins, and many other things.</title>
<updated>2015-04-04T21:05:30+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-04T21:05:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9dd36404646f857c4f250537bac0d9a8ad041d25'/>
<id>urn:sha1:9dd36404646f857c4f250537bac0d9a8ad041d25</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add tests for SyntaxError, TypeError, and other missing things.</title>
<updated>2015-03-25T23:10:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-25T23:10:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=214179b430ebc1101e28b19248b6166f5e511e6b'/>
<id>urn:sha1:214179b430ebc1101e28b19248b6166f5e511e6b</id>
<content type='text'>
This is intended to improve coverage of the test suite.
</content>
</entry>
<entry>
<title>tests: Add tests for things that are not already tested.</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-12T22:47:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=af43565322f5c45a1a92df1afceff24c93021998'/>
<id>urn:sha1:af43565322f5c45a1a92df1afceff24c93021998</id>
<content type='text'>
The aim here is to improve coverage of the code.
</content>
</entry>
<entry>
<title>py: Parse big-int/float/imag constants directly in parser.</title>
<updated>2015-02-08T01:57:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-08T01:57:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7d414a1b52d193bab2c94cf56932e1eba23ba542'/>
<id>urn:sha1:7d414a1b52d193bab2c94cf56932e1eba23ba542</id>
<content type='text'>
Previous to this patch, a big-int, float or imag constant was interned
(made into a qstr) and then parsed at runtime to create an object each
time it was needed.  This is wasteful in RAM and not efficient.  Now,
these constants are parsed straight away in the parser and turned into
objects.  This allows constants with large numbers of digits (so
addresses issue #1103) and takes us a step closer to #722.
</content>
</entry>
</feed>
