2022-07-12 05:19:51 +00:00
|
|
|
#pragma once
|
|
|
|
|
#include "stddef.h"
|
2022-08-18 15:29:51 +00:00
|
|
|
#include <arch/arch.h>
|
|
|
|
|
#if ARCH(I386) || ARCH(X86_64)
|
|
|
|
|
#include <arch/x86_64/math/bitcount.h>
|
|
|
|
|
#else
|
|
|
|
|
#error Arch not supported.
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
int64_t pow(int64_t x, int y);
|