summaryrefslogtreecommitdiffstatshomepage
path: root/py/emitglue.c
diff options
context:
space:
mode:
authorColin Hogben <colin@infinnovation.co.uk>2016-05-09 22:11:34 +0100
committerDamien George <damien.p.george@gmail.com>2016-05-12 13:28:45 +0100
commita896951a9a8d8585d094e5ee6d7d37ff17d1b73e (patch)
tree842129f36be9d86e0c198ffb03e6bf050a268c07 /py/emitglue.c
parentd45e5f8c357d13e66aeac644e2b5ead8c734025f (diff)
downloadmicropython-a896951a9a8d8585d094e5ee6d7d37ff17d1b73e.tar.gz
micropython-a896951a9a8d8585d094e5ee6d7d37ff17d1b73e.zip
py/objfloat, py/modmath: Ensure M_PI and M_E defined.
In some compliation enviroments (e.g. mbed online compiler) with strict standards compliance, <math.h> does not define constants such as M_PI. Provide fallback definitions of M_E and M_PI where needed.
Diffstat (limited to 'py/emitglue.c')
0 files changed, 0 insertions, 0 deletions