rc_util.h File Reference

Utility constants and macros. More...

Go to the source code of this file.

Defines

#define MIN(a, b)
 Standard MIN().
#define MAX(a, b)
 Standard MAX().
#define CLAMP(val, lo, hi)
 Standard CLAMP().
#define RC_DIV_CEIL(num, den)
 Integer division, rounded up.
#define RC_ALIGN(value)
 Round up 'value' to a multiple of RC_ALIGNMENT.

Detailed Description

Utility constants and macros.


Define Documentation

#define CLAMP ( val,
lo,
hi   ) 

Standard CLAMP().

#define MAX ( a,
 ) 

Standard MAX().

#define MIN ( a,
 ) 

Standard MIN().

#define RC_ALIGN ( value   ) 

Round up 'value' to a multiple of RC_ALIGNMENT.

#define RC_DIV_CEIL ( num,
den   ) 

Integer division, rounded up.


Generated on 1 Jun 2016 for RAPP Compute by  doxygen 1.6.1