math: Implement nan and friends.
[libcstd.git] / src / math / mathcommon.h
blob9e5733b9138797f1a0806a5219fd8044200d971b
1 #ifndef MATH_COMMON_H_
2 #define 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