<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/modmath.c, branch v1.8.4</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.4</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.4'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-05-12T12:28:45+00:00</updated>
<entry>
<title>py/objfloat, py/modmath: Ensure M_PI and M_E defined.</title>
<updated>2016-05-12T12:28:45+00:00</updated>
<author>
<name>Colin Hogben</name>
<email>colin@infinnovation.co.uk</email>
</author>
<published>2016-05-09T21:11:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a896951a9a8d8585d094e5ee6d7d37ff17d1b73e'/>
<id>urn:sha1:a896951a9a8d8585d094e5ee6d7d37ff17d1b73e</id>
<content type='text'>
In some compliation enviroments (e.g. mbed online compiler) with
strict standards compliance, &lt;math.h&gt; does not define constants such
as M_PI.  Provide fallback definitions of M_E and M_PI where needed.
</content>
</entry>
<entry>
<title>py: Change type signature of builtin funs that take variable or kw args.</title>
<updated>2016-01-11T00:49:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-03T14:21:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4b72b3a133ea87a1ef8b964508dc25c551ccf093'/>
<id>urn:sha1:4b72b3a133ea87a1ef8b964508dc25c551ccf093</id>
<content type='text'>
With this patch the n_args parameter is changed type from mp_uint_t to
size_t.
</content>
</entry>
<entry>
<title>py/modmath: Add domain error checking to sqrt, log, log2, log10.</title>
<updated>2015-12-12T15:12:54+00:00</updated>
<author>
<name>Michael Buesch</name>
<email>m@bues.ch</email>
</author>
<published>2015-12-10T12:28:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=17298af61ededcfa4e96a6fdc6f484c79ffe220d'/>
<id>urn:sha1:17298af61ededcfa4e96a6fdc6f484c79ffe220d</id>
<content type='text'>
These functions will raise 'ValueError: math domain error' on invalid
input.
</content>
</entry>
<entry>
<title>py: Add MP_ROM_* macros and mp_rom_* types and use them.</title>
<updated>2015-11-29T14:25:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T13:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cbf7674025814797f5c537d6d1c195efe58ccaaf'/>
<id>urn:sha1:cbf7674025814797f5c537d6d1c195efe58ccaaf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/modmath: Make log2, log10 and hyperbolic funcs be SPECIAL_FUNCTIONS.</title>
<updated>2015-11-17T14:10:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-17T14:10:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a24eafacc9653232087bde15fb86bf86cb44cb06'/>
<id>urn:sha1:a24eafacc9653232087bde15fb86bf86cb44cb06</id>
<content type='text'>
Will be included only when MICROPY_PY_MATH_SPECIAL_FUNCTIONS is enabled.

Also covers cmath module (but only log10 is there at the moment).
</content>
</entry>
<entry>
<title>py/modmath: Don't create symbol entry for expm1() if not needed.</title>
<updated>2015-11-13T22:55:54+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-11-13T22:55:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=863d4cd862ca470f4bd4253977bba618b835fa39'/>
<id>urn:sha1:863d4cd862ca470f4bd4253977bba618b835fa39</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/modmath: Make expm1() be in MICROPY_PY_MATH_SPECIAL_FUNCTIONS.</title>
<updated>2015-11-13T22:46:52+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-11-13T22:46:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0d6116d86b916d3b5a70e188ac69f3cba40d0c6d'/>
<id>urn:sha1:0d6116d86b916d3b5a70e188ac69f3cba40d0c6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix/mpconfigport: Move log2() definition to modmath.c.</title>
<updated>2015-11-13T13:24:48+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-11-13T11:24:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6d1eabfeaa44cab32a6ea37d3c041a9b06ac5798'/>
<id>urn:sha1:6d1eabfeaa44cab32a6ea37d3c041a9b06ac5798</id>
<content type='text'>
It's safer to define it where it's used, defining it for all source files
may lead to hard to diagnose conflicts in corner cases.
</content>
</entry>
<entry>
<title>py: Move float e/pi consts to objfloat and make mp_obj_float_t private.</title>
<updated>2015-10-20T11:35:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-20T22:42:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7e359c648b1f92e709c5ff4b7089011967ebb9f5'/>
<id>urn:sha1:7e359c648b1f92e709c5ff4b7089011967ebb9f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming.</title>
<updated>2015-10-11T12:18:15+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-10-11T09:09:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1b586f3a734c27c78080fb2173bbde17168cb9e4'/>
<id>urn:sha1:1b586f3a734c27c78080fb2173bbde17168cb9e4</id>
<content type='text'>
</content>
</entry>
</feed>
