src/lib/math.h
author Tero Marttila <terom@fixme.fi>
Thu, 09 Oct 2008 00:33:37 +0300
changeset 16 74fb62022fb3
parent 2 11757d6b43a6
permissions -rw-r--r--
starting to work
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 */