No need to redefine PI constant for MinGW
parent
f9df2bee2f
commit
ba609cce07
|
@ -9,18 +9,6 @@
|
|||
#include <cstring>
|
||||
#include <algorithm>
|
||||
|
||||
#ifdef __MINGW32__
|
||||
# define __CROSS_COMPILATION__
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW64__
|
||||
# define __CROSS_COMPILATION__
|
||||
#endif
|
||||
|
||||
#ifdef __CROSS_COMPILATION__
|
||||
# define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
/* Just an easy constructor of sequence of booleans defaulting to
|
||||
change everywhere. */
|
||||
|
||||
|
|
|
@ -8,17 +8,7 @@
|
|||
#include "product.hh"
|
||||
#include "quasi_mcarlo.hh"
|
||||
|
||||
#ifdef __MINGW32__
|
||||
# define __CROSS_COMPILATION__
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW64__
|
||||
# define __CROSS_COMPILATION__
|
||||
#endif
|
||||
|
||||
#ifdef __CROSS_COMPILATION__
|
||||
# define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
#include <cmath>
|
||||
|
||||
/* Here we just set a reference to the approximation, and create a new
|
||||
|DynamicModel|. */
|
||||
|
|
|
@ -9,18 +9,6 @@
|
|||
#include <cmath>
|
||||
#include <limits>
|
||||
|
||||
#ifdef __MINGW32__
|
||||
# define __CROSS_COMPILATION__
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW64__
|
||||
# define __CROSS_COMPILATION__
|
||||
#endif
|
||||
|
||||
#ifdef __CROSS_COMPILATION__
|
||||
# define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
using namespace ogp;
|
||||
|
||||
/** Here we just implement complementary error function without
|
||||
|
|
Loading…
Reference in New Issue