Skip to content
Snippets Groups Projects
Commit a896951a authored by Colin Hogben's avatar Colin Hogben Committed by Damien George
Browse files

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.
parent d45e5f8c
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment