jhjourdan / SIMD-math-prims

Vectorizable implementations of some mathematical functions
MIT License
102 stars 12 forks source link

In MinGW, M_PI is not defined #1

Closed ghost closed 5 years ago

ghost commented 5 years ago

environment

gcc version 7.3.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project) OS: win10

solution

// usually M_PI is defined in math.h
#define M_PI 3.14159265358979323846
jhjourdan commented 5 years ago

Thanks. Fixed in commit 2f98a9e.