Maths defines for windows

This commit is contained in:
louis- 2014-09-23 21:51:27 +02:00
parent 5ba75f8ed7
commit 6d6872b708

View file

@ -1,5 +1,10 @@
#define _USE_MATH_DEFINES
#ifdef WIN32
#define M_PI 3.141592653589793238462643383279502797479068098137295573004504331874296718662975536062731407582759857177734375
#define M_E 2.71828182845904523536028747135266231435842186719354886266923086032766716801933881697550532408058643341064453125
#endif
//
void pi(void)
{