剖析Intel IA32 架構(gòu)下C 語(yǔ)言及CPU 浮點(diǎn)數(shù)機(jī)制 Version 0.01 哈爾濱工業(yè)大學(xué) 謝煜波 (email: xieyubo@126.com 網(wǎng)址:http://purec.binghua.com) (QQ:13916830 哈工大紫丁香BBSID:iamxiaohan) 前言 這兩天翻看一本C 語(yǔ)言書(shū)的時(shí)候,發(fā)現(xiàn)上面有一段這樣寫(xiě)到 例:將同一實(shí)型數(shù)分別賦值給單精度實(shí)型和雙精度實(shí)型,然后打印輸出。 #include <stdio.h> main() { float a double b a = 123456.789e4 b = 123456.789e4 printf(“%f\n%f\n”,a,b) } 運(yùn)行結(jié)果如下:
標(biāo)簽: Version xieyubo Intel email
上傳時(shí)間: 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
標(biāo)簽: folder directory complete contents
上傳時(shí)間: 2013-12-23
上傳用戶:jyycc
函數(shù)模板T max(T a, T b, T c),使之實(shí)現(xiàn)對(duì)任何類型數(shù),能從三個(gè)數(shù)中求出最大數(shù)返回。設(shè)計(jì)各種類型數(shù)據(jù)(char,short,long,float,double)調(diào)用此函數(shù)模板。
上傳時(shí)間: 2015-07-07
上傳用戶:時(shí)代電子小智
//=== === === === === === === === === === === ===== //函數(shù)說(shuō)明 //函數(shù)名稱:Correlation //函數(shù)功能:計(jì)算最小二乘法擬合的多項(xiàng)式的相關(guān)系數(shù) //使用方法:int M------ 擬合多項(xiàng)式的階數(shù)(已知條件) // double *b--- 擬合曲線的系數(shù),排列順序?yàn)橛筛唠A到低階(已知條件) // double *x--- 結(jié)點(diǎn)x軸數(shù)據(jù)(已知條件) // double *y--- 結(jié)點(diǎn)y軸數(shù)據(jù)(已知條件) // double *Yg-- 結(jié)點(diǎn)估計(jì)值,個(gè)數(shù)為m(過(guò)程變量) // int m------ 結(jié)點(diǎn)個(gè)數(shù)(已知條件) //注意事項(xiàng):多項(xiàng)式階數(shù)最高為10,多項(xiàng)式的形式為 y = a0 + a1x +a2x2
標(biāo)簽: Correlation 函數(shù) 計(jì)算 最小二乘法擬合
上傳時(shí)間: 2013-11-26
上傳用戶:change0329
//=== === === === === === === === === === === ===== //函數(shù)說(shuō)明 //函數(shù)名稱:Correlation //函數(shù)功能:計(jì)算最小二乘法擬合的多項(xiàng)式的相關(guān)系數(shù) //使用方法:int M------擬合多項(xiàng)式的項(xiàng)數(shù)(已知條件) // double *b---擬合曲線的系數(shù),按升次排列(已知條件) // double *x---結(jié)點(diǎn)x軸數(shù)據(jù)(已知條件) // double *y---結(jié)點(diǎn)y軸數(shù)據(jù)(已知條件) // double *Yg--結(jié)點(diǎn)估計(jì)值,與*y相對(duì)應(yīng),個(gè)數(shù)為m(過(guò)程變量) // int m------結(jié)點(diǎn)個(gè)數(shù)(已知條件) //注意事項(xiàng):多項(xiàng)式階數(shù)最高為10,多項(xiàng)式的形式為 y = b0 + b1*(x-Xavr)...
標(biāo)簽: Correlation 函數(shù) 計(jì)算 最小二乘法擬合
上傳時(shí)間: 2014-11-23
上傳用戶:yxgi5
//=== === === === === === === === === === === === === === = //函數(shù)說(shuō)明 //函數(shù)名稱:PolyFit //函數(shù)功能:最小二乘法曲線擬合 //使用方法:double *x ---- 存放n個(gè)數(shù)據(jù)點(diǎn)的X坐標(biāo) // double *y ---- 存放n個(gè)數(shù)據(jù)點(diǎn)的Y坐標(biāo) // int n -------- 給定數(shù)據(jù)點(diǎn)個(gè)數(shù) // double *a ---- 返回m-1次擬合多項(xiàng)式的m個(gè)系數(shù) // int m -------- 擬合多項(xiàng)式的項(xiàng)數(shù),即擬合多項(xiàng)式的最高次為m-1。要求m<=n,且 // m<=20。若m>n或m>20,則本函數(shù)自動(dòng)按m=min{n,20}處理 // double *dt --- dt[0]返回?cái)M合多項(xiàng)式與各數(shù)據(jù)點(diǎn)誤差的平方和;dt[1]返回?cái)M合多 // 項(xiàng)式與各數(shù)據(jù)點(diǎn)的誤差絕對(duì)值之和;dt[2]返回?cái)M合多項(xiàng)式與各數(shù)據(jù) // 點(diǎn)誤差絕對(duì)值的最大值 //注意事項(xiàng):擬合多項(xiàng)式的形式為 y = b0 + b1*(x-Xavr)...
標(biāo)簽: PolyFit 函數(shù) 最小二乘法
上傳時(shí)間: 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.
標(biāo)簽: distribution The Valgrind checking
上傳時(shí)間: 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.
標(biāo)簽: addresses Address system useful
上傳時(shí)間: 2014-07-08
上傳用戶:lyy1234
1.功能 用高斯方法計(jì)算n重積分(C語(yǔ)言) 2.參數(shù)說(shuō)明 int n : 積分重?cái)?shù) int js[n] : js[k]表示第k層積分區(qū)間所劃分的子區(qū)間 void (*ss)() : 指向計(jì)算各層積分上、下限的函數(shù)名(用戶自編) double (*f)() : 指向計(jì)算被積函數(shù)值的函數(shù)名(用戶自編) double gaus() : 函數(shù)返回積分值 3.文件說(shuō)明 gaus.c為函數(shù)程序 gaus0.c為主函數(shù)程序
上傳時(shí)間: 2014-01-05
上傳用戶:731140412
很多嵌入式系統(tǒng),特別是應(yīng)用于圖像處理與高速數(shù)據(jù)采集等場(chǎng)合的嵌入式系統(tǒng),都需要高速緩存大量的數(shù)據(jù)。DDR(Double Data Rate,雙數(shù)據(jù)速率)SDRAM由于其速度快、容量大,而且價(jià)格便宜,因此能夠很好地滿足上述場(chǎng)合對(duì)大量數(shù)據(jù)緩存的需求。但DDR SDRAM的接口不能直接與現(xiàn)今的微處理器和DSP的存儲(chǔ)器接口相連,需要在其間插入控制器實(shí)現(xiàn)微處理器或DSP對(duì)存儲(chǔ)器的控制。
標(biāo)簽: 嵌入式系統(tǒng)
上傳時(shí)間: 2015-09-18
上傳用戶:zjf3110
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1