comparison src/dsp/pi.h @ 179:433e3aac9e52

Add pi.h. Let's stop messing around with platform-specific defines
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 07 Sep 2015 12:01:14 +0100
parents
children
comparison
equal deleted inserted replaced
178:2420733abeb6 179:433e3aac9e52
1
2 #ifndef PI_H
3 #define PI_H
4
5 #include <cmath>
6
7 #ifndef M_PI
8 #define M_PI 3.14159265358979323846
9 #endif
10
11 #endif