From 9f505fe554454092ab6262ebf457d7576e6c93d0 Mon Sep 17 00:00:00 2001 From: jpkneller Date: Mon, 19 Aug 2024 11:25:44 -0400 Subject: [PATCH] Update number.h --- src/BEMEWS/_ext/mstl/math2/number.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/BEMEWS/_ext/mstl/math2/number.h b/src/BEMEWS/_ext/mstl/math2/number.h index 0392dc8..00dc467 100644 --- a/src/BEMEWS/_ext/mstl/math2/number.h +++ b/src/BEMEWS/_ext/mstl/math2/number.h @@ -15,6 +15,10 @@ // M_PI, M_PI_2, M_PI_4, M_1_PI, M_2_PI, M_2_SQRTPI // M_SQRT2, M_SQRT1_2 +#if !defined(M_PI) +#define M_PI 3.141592653589793238462643383279502884197169399375105820974944 +#endif + #define M_SQRTPI 1.772453850905516027298167 // sqrt of pi #define M_1_SQRTPI 0.564189583547756286948 // reciprocal of sqrt pi #define M_2PI 6.283185307179586476925286766559 // 2 pi