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