Linux内核中64位除法函数do_div
来源:互联网 发布:网页设计 php源代码 编辑:程序博客网 时间:2024/05/14 11:35
In linux kernel, a 64 bit division is not supported by fault.
* We need to use do_div macro available in asm/div64.h.
*
* #include<asm/div64.h>
* usigned long long x,y,result;
* usigned long mod;
* mod = do_div(x,y);
* result = x;
*
* The result ofdivision is in x,the remainder is returned from the do_div function to mod.
* We need to use do_div macro available in asm/div64.h.
*
* #include<asm/div64.h>
* usigned long long x,y,result;
* usigned long mod;
* mod = do_div(x,y);
* result = x;
*
* The result ofdivision is in x,the remainder is returned from the do_div function to mod.
0 0
- Linux内核中64位除法函数do_div
- Linux内核中64位除法函数do_div
- Linux内核中64位除法函数do_div
- Linux内核中64位除法函数do_di
- linux内核函数do_div与undefined reference to `__udivdi3'解决方法
- 内核中64位整数除法和求余数
- linux arm 64位除法
- 内核函数 do_div() 与 undefined reference to __udivdi3
- 内核函数 do_div() 与 undefined reference to __udivdi3
- Linux 内核 64bit 除法
- 内核中位运算函数
- do_div
- 在内核linux-3.1-rc4中加入系统调用 (32位和64位)
- Linux内核中GET_CURRENT()函数
- linux 内核中 mktime函数
- linux中内核延时函数
- linux内核 64位 X86_64 地址空间
- Linux内核中采用了一种同时适用于32位和64位系统的内存分页模型
- 块元素和内联元素,文档流
- xCode6制作动态及静态Framework
- 南京地图全图 南京卫星地图下载 百度高清卫星地图含道路、标签信息叠加
- 贪婪算法GreedyAlgorithm
- Android编译_2014.9.2
- Linux内核中64位除法函数do_div
- hdu 4474 BFS+思维题
- redis安装
- ios 制作自已的framework
- iOS 常用的宏定义
- servlet/filter/listener/interceptor区别与联系
- db2 with as
- 华为机试历年题
- solr 一 getting start