math: Move mathcommon.h to toplevel include.
[libcstd.git] / include / cstd / mathcommon.h
blobcd4ffb910aecb753caadcfd4a0e5102266538a74
1 #ifndef _CSTD_MATH_COMMON_H_
2 #define _CSTD_MATH_COMMON_H_
4 #include <math.h>
6 #define PASTE(a, b) a ## b
7 #define PASTE2(a, b) PASTE(a, b)
8 #define MF(func) (PASTE2(func, SUFFIX))
10 #ifndef TYPE
11 #define TYPE double
12 #endif
14 #ifndef SUFFIX
15 #define SUFFIX
16 #endif
18 #endif