feature (kernel): Defined 'position_T'
This commit is contained in:
parent
526ad615d8
commit
c11d4760ff
|
@ -23,6 +23,11 @@
|
||||||
#define CEIL_TO(a, b) (a % b ? a + b - (a % b) : a)
|
#define CEIL_TO(a, b) (a % b ? a + b - (a % b) : a)
|
||||||
#define FLOOR_TO(a, b) (a - (a % b))
|
#define FLOOR_TO(a, b) (a - (a % b))
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
uint64_t x;
|
||||||
|
uint64_t y;
|
||||||
|
} position_T;
|
||||||
|
|
||||||
uint64_t pow(uint64_t base, uint64_t exp);
|
uint64_t pow(uint64_t base, uint64_t exp);
|
||||||
uint64_t abs(int64_t n);
|
uint64_t abs(int64_t n);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue