repo.or.cz
/
libcstd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
math: Move mathcommon.h to toplevel include.
[libcstd.git]
/
include
/
cstd
/
mathcommon.h
blob
cd4ffb910aecb753caadcfd4a0e5102266538a74
1
#ifndef _CSTD_MATH_COMMON_H_
2
#define _CSTD_MATH_COMMON_H_
3
4
#include <math.h>
5
6
#define PASTE(a, b) a ## b
7
#define PASTE2(a, b) PASTE(a, b)
8
#define MF(func) (PASTE2(func, SUFFIX))
9
10
#ifndef TYPE
11
#define TYPE double
12
#endif
13
14
#ifndef SUFFIX
15
#define SUFFIX
16
#endif
17
18
#endif