blob: cc2d034938a3d84fd697b631c3ce425f59abbbb5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* See LICENSE file for copyright and license details. */
#include "../zahl.h"
#define BITS_PER_CHAR 32
#define FLOOR_BITS_TO_CHARS(bits) ((bits) >> 5)
#define CEILING_BITS_TO_CHARS(bits) (((bits) + (BITS_PER_CHAR - 1)) >> 5)
#define BITS_IN_LAST_CHAR(bits) ((bits) & (BITS_PER_CHAR - 1))
#define LIST_TEMPS\
X(libzahl_tmp_cmp)
#define X(x) extern z_t x;
LIST_TEMPS
#undef X
extern jmp_buf libzahl_jmp_buf;
extern int libzahl_set_up;
#define FAILURE_JUMP() (longjmp(libzahl_jmp_buf, 1))
#define SET_SIGNUM(a, signum) ((a)->sign = (signum))
|