QPMS
Electromagnetic multiple scattering library and toolkit.
|
Simple but frequently used inline functions and macros. More...
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | MIN(x, y) (((x) < (y)) ? (x) : (y)) |
#define | MAX(x, y) (((x) >= (y)) ? (x) : (y)) |
#define | SQ(x) ((x) * (x)) |
Functions | |
static int | min1pow (int pow) |
static int | min1pow_m_neg (int m) |
static complex double | ipow (int x) |
static int | isq (int x) |
Simple but frequently used inline functions and macros.