mirror of
https://github.com/louisrubet/rpn
synced 2025-01-28 19:58:01 +01:00
Maths defines for windows
This commit is contained in:
parent
5ba75f8ed7
commit
6d6872b708
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
||||||
#define _USE_MATH_DEFINES
|
#define _USE_MATH_DEFINES
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
#define M_PI 3.141592653589793238462643383279502797479068098137295573004504331874296718662975536062731407582759857177734375
|
||||||
|
#define M_E 2.71828182845904523536028747135266231435842186719354886266923086032766716801933881697550532408058643341064453125
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
void pi(void)
|
void pi(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue