areEqual

#define areEqual(a, b, tol) ((b) - (tol) <= (a)) && ((a) <= (b) + (tol))

Evaluates to TRUE if a and b are within tol of each other. Otherwise, return FALSE.

Header:
#include "utility.h"