<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/float, branch v1.3.9</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.9</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.9'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-01-24T21:05:16+00:00</updated>
<entry>
<title>tests: Update float2int tests for new range classifications</title>
<updated>2015-01-24T21:05:16+00:00</updated>
<author>
<name>David Steinberg</name>
<email>david.steinberg.dev@gmail.com</email>
</author>
<published>2015-01-23T17:52:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4c1a7e0d6a561be5871bb0d36b724f529e55c21d'/>
<id>urn:sha1:4c1a7e0d6a561be5871bb0d36b724f529e55c21d</id>
<content type='text'>
- Tests vary based on build configuration (32/64-bit and internal int type).
- Added tests for exceptions raised on overflow of int type.
</content>
</entry>
<entry>
<title>lib/libm: Add frexp and modf functions; use in stmhal; add tests.</title>
<updated>2015-01-22T13:48:29+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-22T13:48:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6d1f5070ce97d76452ba48c2baa27d8f818a1545'/>
<id>urn:sha1:6d1f5070ce97d76452ba48c2baa27d8f818a1545</id>
<content type='text'>
Addresses issue #1081.
</content>
</entry>
<entry>
<title>tests: Separate out test cases that rely on float support to float/ dir.</title>
<updated>2015-01-08T15:41:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-08T15:41:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=19b3fea6a885d071a1216614ee3f766aba947cbf'/>
<id>urn:sha1:19b3fea6a885d071a1216614ee3f766aba947cbf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Temporary fix for conversion of float to int when fits in small int.</title>
<updated>2015-01-07T12:10:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-07T12:10:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ad2307c92c15f0aa90dbd0741fd2538719d0b5e1'/>
<id>urn:sha1:ad2307c92c15f0aa90dbd0741fd2538719d0b5e1</id>
<content type='text'>
Addresses issue #1044 (see also #1040).  Could do with a better fix.
</content>
</entry>
<entry>
<title>py: Raise exception if trying to convert inf/nan to int.</title>
<updated>2015-01-02T23:04:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-02T23:04:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6fd4b36bc5dfbb6c6a3f85e14269589e6613d26d'/>
<id>urn:sha1:6fd4b36bc5dfbb6c6a3f85e14269589e6613d26d</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>objstr: Fix %d-formatting of floats.</title>
<updated>2014-12-31T00:21:19+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-12-31T00:20:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2c75665445b555d0bf712566e7d8874e57c5ad81'/>
<id>urn:sha1:2c75665445b555d0bf712566e7d8874e57c5ad81</id>
<content type='text'>
</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>lib/libm: Add acosh, asinh, atanh, tan; get working with stmhal.</title>
<updated>2014-12-18T14:44:02+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-12-18T14:44:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f04329e93b7bfa5462f232832d64aac3dc52d5db'/>
<id>urn:sha1:f04329e93b7bfa5462f232832d64aac3dc52d5db</id>
<content type='text'>
acoshf, asinhf, atanhf were added from musl.  mathsincos.c was
split up into its original, separate files (from newlibe-nano-2).
tan was added.

All of the important missing float functions are now implemented,
and pyboard now passes tests/float/math_fun.py (finally!).
</content>
</entry>
<entry>
<title>tests: Split out float test from builtin_round.py.</title>
<updated>2014-11-29T14:47:54+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-29T14:47:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7288403b9b0e3cc6193c5f563c7014a0c4f1f23f'/>
<id>urn:sha1:7288403b9b0e3cc6193c5f563c7014a0c4f1f23f</id>
<content type='text'>
</content>
</entry>
</feed>
