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