剖析Intel IA32 架构下C 语言及CPU 浮点数机制 Version 0.01 哈尔滨工业大学 谢煜波 (email: xieyubo@126.com 网址:http://purec.binghua.com) (QQ:13916830 哈工大紫丁香BBSID:iamxiaohan) 前言 这两天翻看一本C 语言书的时候,发现上面有一段这样写到 例:将同一实型数分别赋值给单精度实型和双精度实型,然后打印输出。 #include <stdio.h> main() { float a double b a = 123456.789e4 b = 123456.789e4 printf(“%f\n%f\n”,a,b) } 运行结果如下:
标签: Version xieyubo Intel email
上传时间: 2013-12-25
上传用户:徐孺
Please place this entire folder (complete with contents) into your System32 directory folder Double click on the Register .bat file to Register Double click on the UnRegister .bat file to UnRegister It s as simple as that! Cheers
标签: folder directory complete contents
上传时间: 2013-12-23
上传用户:jyycc
函数模板T max(T a, T b, T c),使之实现对任何类型数,能从三个数中求出最大数返回。设计各种类型数据(char,short,long,float,double)调用此函数模板。
上传时间: 2015-07-07
上传用户:时代电子小智
//=== === === === === === === === === === === ===== //函数说明 //函数名称:Correlation //函数功能:计算最小二乘法拟合的多项式的相关系数 //使用方法:int M------ 拟合多项式的阶数(已知条件) // double *b--- 拟合曲线的系数,排列顺序为由高阶到低阶(已知条件) // double *x--- 结点x轴数据(已知条件) // double *y--- 结点y轴数据(已知条件) // double *Yg-- 结点估计值,个数为m(过程变量) // int m------ 结点个数(已知条件) //注意事项:多项式阶数最高为10,多项式的形式为 y = a0 + a1x +a2x2
标签: Correlation 函数 计算 最小二乘法拟合
上传时间: 2013-11-26
上传用户:change0329
//=== === === === === === === === === === === ===== //函数说明 //函数名称:Correlation //函数功能:计算最小二乘法拟合的多项式的相关系数 //使用方法:int M------拟合多项式的项数(已知条件) // double *b---拟合曲线的系数,按升次排列(已知条件) // double *x---结点x轴数据(已知条件) // double *y---结点y轴数据(已知条件) // double *Yg--结点估计值,与*y相对应,个数为m(过程变量) // int m------结点个数(已知条件) //注意事项:多项式阶数最高为10,多项式的形式为 y = b0 + b1*(x-Xavr)...
标签: Correlation 函数 计算 最小二乘法拟合
上传时间: 2014-11-23
上传用户:yxgi5
//=== === === === === === === === === === === === === === = //函数说明 //函数名称:PolyFit //函数功能:最小二乘法曲线拟合 //使用方法:double *x ---- 存放n个数据点的X坐标 // double *y ---- 存放n个数据点的Y坐标 // int n -------- 给定数据点个数 // double *a ---- 返回m-1次拟合多项式的m个系数 // int m -------- 拟合多项式的项数,即拟合多项式的最高次为m-1。要求m<=n,且 // m<=20。若m>n或m>20,则本函数自动按m=min{n,20}处理 // double *dt --- dt[0]返回拟合多项式与各数据点误差的平方和;dt[1]返回拟合多 // 项式与各数据点的误差绝对值之和;dt[2]返回拟合多项式与各数据 // 点误差绝对值的最大值 //注意事项:拟合多项式的形式为 y = b0 + b1*(x-Xavr)...
上传时间: 2015-07-19
上传用户:waizhang
The Valgrind distribution has multiple tools. The most popular is the memory checking tool (called Memcheck) which can detect many common memory errors such as: * touching memory you shouldn t (eg. overrunning heap block boundaries) * using values before they have been initialized * incorrect freeing of memory, such as double-freeing heap blocks * memory leaks.
标签: distribution The Valgrind checking
上传时间: 2014-01-14
上传用户:xc216
Address book helps you look up your addresses from the system tray. It is quite useful in that way 慶ause it stays out of the way and is easily accessible when needed. Double clicking on any URL will start the default web browser and take you to that URL. Double clicking on the phone number will dial that number. Every column supports sorting and can be customized to your needs. Preview will display the notes associated with each record. This program can also import Comma Separated Values (*csv) text files of Outlook Express.
标签: addresses Address system useful
上传时间: 2014-07-08
上传用户:lyy1234
1.功能 用高斯方法计算n重积分(C语言) 2.参数说明 int n : 积分重数 int js[n] : js[k]表示第k层积分区间所划分的子区间 void (*ss)() : 指向计算各层积分上、下限的函数名(用户自编) double (*f)() : 指向计算被积函数值的函数名(用户自编) double gaus() : 函数返回积分值 3.文件说明 gaus.c为函数程序 gaus0.c为主函数程序
上传时间: 2014-01-05
上传用户:731140412
很多嵌入式系统,特别是应用于图像处理与高速数据采集等场合的嵌入式系统,都需要高速缓存大量的数据。DDR(Double Data Rate,双数据速率)SDRAM由于其速度快、容量大,而且价格便宜,因此能够很好地满足上述场合对大量数据缓存的需求。但DDR SDRAM的接口不能直接与现今的微处理器和DSP的存储器接口相连,需要在其间插入控制器实现微处理器或DSP对存储器的控制。
标签: 嵌入式系统
上传时间: 2015-09-18
上传用户:zjf3110