equal
deleted
inserted
replaced
1 #include "system.h" |
1 #include "system.h" |
2 #include <string.h> |
2 #include <string.h> |
3 #include <stdio.h> |
3 #include <stdio.h> |
4 #include <stdlib.h> |
4 #include <stdlib.h> |
5 #include <wchar.h> |
5 #include <wchar.h> |
|
6 #include "pmath.h" |
6 |
7 |
7 #ifndef M_PI |
8 #ifndef M_PI |
8 // some math.h do not have M_PI macros |
9 // some math.h do not have M_PI macros |
9 # define M_PI 3.14159265358979323846 /* pi */ |
10 # define M_PI 3.14159265358979323846 /* pi */ |
10 # define M_PI_2 1.57079632679489661923 /* pi/2 */ |
11 # define M_PI_2 1.57079632679489661923 /* pi/2 */ |