1
0
aoc-2022/types.h
2023-07-01 18:01:58 +03:00

19 lines
293 B
C

#ifndef TYPES_H_
#define TYPES_H_
#include <stdint.h>
#define SIGN(x) (x == 0 ? 0 : (x > 0 ? 1 : -1))
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
typedef int8_t i8;
typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
#endif //TYPES_H_