Utilities


Detailed Description

General-purpose macros.


Defines

#define STRINGIFY2(x)   #x
 Used to implement STRINGIFY.
#define STRINGIFY(x)   STRINGIFY2(x)
 Stringify x.
#define MIN(x, y)   ((x) < (y) ? (x) : (y))
 Minimum of x and y.
#define MAX(x, y)   ((x) > (y) ? (x) : (y))
 Maximum of x and y.


Define Documentation

#define MAX ( x,
 )     ((x) > (y) ? (x) : (y))

Maximum of x and y.

Definition at line 137 of file types.c.

Referenced by record_hapax(), and update_bounds_hapax().

#define MIN ( x,
 )     ((x) < (y) ? (x) : (y))

Minimum of x and y.

Definition at line 135 of file types.c.

Referenced by record_hapax(), and update_bounds_hapax().

#define STRINGIFY (  )     STRINGIFY2(x)

Stringify x.

Definition at line 132 of file types.c.

Referenced by usage().

#define STRINGIFY2 (  )     #x

Used to implement STRINGIFY.

Definition at line 130 of file types.c.