Loading...
Searching...
No Matches
Go to the documentation of this file.
11 fprintf(stderr, "%s:%d\t\t" msg "\n", __FILE__, __LINE__); \
15#define PANIC(msg, ...) \
17 fprintf(stderr, "%s:%d\t\t" msg "\n", __FILE__, __LINE__, __VA_ARGS__); \
21#define ASSERT__(expr) \
24 PANIC_("not ok!.\tAsserton Failed! " #expr); \
26 fprintf(stderr, "# %s:%d\t\tok.\t%s\n", __FILE__, __LINE__, #expr); \
29#define ASSERT_(expr, msg) \
32 PANIC_("not ok!\tAsserton Failed! " msg); \
35#define ASSERT(expr, msg, ...) \
38 PANIC("not ok!\tAssertion Failed! " msg, __VA_ARGS__); \
42#define FLOAT32_INFTY (__builtin_inff())
43#define FLOAT32_NEG_INFTY (-__builtin_inff())
unsigned char byte
Definition defs.h:49
uint64_t u64
Definition defs.h:46
int32_t i32
Definition defs.h:47
size_t sz
Definition defs.h:51
uint16_t u16
Definition defs.h:48
char i8
Definition defs.h:50
uint32_t u32
Definition defs.h:45