How to divide two 64-bit numbers in Linux Kernel?

后端 未结 4 1893
面向向阳花
面向向阳花 2021-01-17 17:01

Some code that rounds up the division to demonstrate (C-syntax):

#define SINT64 long long int
#define SINT32 long int

SINT64 divRound(SINT64 dividend, SINT6         


        
4条回答
提交回复
热议问题