view 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
line wrap: on
line source

#ifndef PI_H
#define PI_H

#include <cmath>

#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

#endif