M_PI define

This commit is contained in:
Willem Haffmans 2024-12-08 21:47:40 +01:00
parent e25eec251f
commit 741f552e5d

View File

@ -28,6 +28,9 @@
# define FILE_ERROR "Error: could not open file %s\n"
# define USAGE_ERROR "Usage: %s <filename>\n"
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
# define SQRT2 1.41421356237309514547
# define SQRT6 2.44948974278317788134