src/lib/math.h
author Tero Marttila <terom@fixme.fi>
Thu, 25 Sep 2008 21:28:08 +0300
changeset 2 11757d6b43a6
permissions -rw-r--r--
more functionality for hello
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 */