QPMS
Electromagnetic multiple scattering library and toolkit.
Macros | Functions
tiny_inlines.h File Reference

Simple but frequently used inline functions and macros. More...

#include <stdlib.h>
Include dependency graph for tiny_inlines.h:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Simple but frequently used inline functions and macros.