mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 21:36:30 +00:00
new: 统计前导0
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
#pragma once
|
||||
#include "stddef.h"
|
||||
int64_t pow(int64_t x, int y);
|
||||
#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);
|
||||
|
Reference in New Issue
Block a user