src/lib/math.h
author Tero Marttila <terom@fixme.fi>
Sat, 13 Dec 2008 04:20:56 +0200
branchnew-evsql
changeset 51 c65d0f4c3bff
parent 2 11757d6b43a6
permissions -rw-r--r--
evsql: documentation improvements, fix consts, use bools
2
11757d6b43a6 more functionality for hello
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     1
#ifndef LIB_MATH_H
11757d6b43a6 more functionality for hello
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     2
#define LIB_MATH_H
11757d6b43a6 more functionality for hello
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     3
11757d6b43a6 more functionality for hello
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     4
#define MIN(a, b) ((a) < (b) ? (a) : (b))
11757d6b43a6 more functionality for hello
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     5
#define MAX(a, b) ((a) > (b) ? (a) : (b))
11757d6b43a6 more functionality for hello
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     6
11757d6b43a6 more functionality for hello
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     7
#endif /* LIB_MATH_H */