|
@@ -25,7 +25,7 @@ |
|
|
|
|
|
|
|
|
#define SCALEBITS 8 |
|
|
#define SCALEBITS 8 |
|
|
#define ONE_HALF (1 << (SCALEBITS - 1)) |
|
|
#define ONE_HALF (1 << (SCALEBITS - 1)) |
|
|
#define FIX(x) ((int) ((x) * (1L << SCALEBITS) + 0.5)) |
|
|
|
|
|
|
|
|
#define FIX(x) ((int) ((x) * (1 << SCALEBITS) + 0.5)) |
|
|
|
|
|
|
|
|
#define err_if(expr) do { \ |
|
|
#define err_if(expr) do { \ |
|
|
if (expr) { \ |
|
|
if (expr) { \ |
|
|