剖析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
上傳用戶:徐孺
本書第二部分講述的是在Wi n 3 2平臺上的Wi n s o c k編程。對于眾多的基層網絡協議, Wi n s o c k是訪問它們的首選接口。而且在每個Wi n 3 2平臺上,Wi n s o c k都以不同的形式存在著。 Wi n s o c k是網絡編程接口,而不是協議。它從U n i x平臺的B e r k e l e y(B S D)套接字方案借鑒了 許多東西,后者能訪問多種網絡協議。在Wi n 3 2環境中,Wi n s o c k接口最終成為一個真正的 “與協議無關”接口,尤其是在Winsock 2發布之后。
上傳時間: 2015-07-08
上傳用戶:thinode
空間后方交匯求解相機外方位元素,變量如下 % x,y 控制點像點坐標 % X,Y,Z 控制點空間坐標 %f焦距 %X0,Y0,Z0,a,b,c六個外方位元素 %x0,y0,-f內方位元素:光心坐標 %cha,chb,chc:外方位角元素改正數 %count 記錄迭代次數 %R 旋轉矩陣 %A 線性化的偏導系數矩陣 %L 常數項矩陣 %M0 外方位元素矩陣 %M1 外方位元素改正數矩陣
上傳時間: 2014-01-10
上傳用戶:saharawalker
* 本算法用最小二乘法依據指定的M個基函數及N個已知數據進行曲線擬和 * 輸入: m--已知數據點的個數M * f--M維基函數向量 * n--已知數據點的個數N-1 * x--已知數據點第一坐標的N維列向量 * y--已知數據點第二坐標的N維列向量 * a--無用 * 輸出: 函數返回值為曲線擬和的均方誤差 * a為用基函數進行曲線擬和的系數, * 即a[0]f[0]+a[1]f[1]+...+a[M]f[M].
上傳時間: 2015-07-26
上傳用戶:
This section contains a brief introduction to the C language. It is intended as a tutorial on the language, and aims at getting a reader new to C started as quickly as possible. It is certainly not intended as a substitute for any of the numerous textbooks on C. 2. write a recursive function FIB (n) to find out the nth element in theFibanocci sequence number which is 1,1,2,3,5,8,13,21,34,55,…3. write the prefix and postfix form of the following infix expressiona + b – c / d + e * f – g * h / i ^ j4. write a function to count the number of nodes in a binary tr
標簽: introduction the contains intended
上傳時間: 2013-12-23
上傳用戶:liansi
中文名:Windows Forms 程序設計 英文名:Windows Forms Programming in c# 作者: Chris Sells 翻譯: 榮耀 蔣賢哲 出版社:人民郵電出版社 代碼內容: The Table of Contents * Foreword * Preface * Chapter 1 Hello, Windows Forms * Chapter 2 Forms * Chapter 3 Dialogs * Chapter 4 Layout * Chapter 5 Drawing Basics * Chapter 6 Drawing Text * Chapter 7 Advanced Drawing * Chapter 8 Printing * Chapter 9 Components * Chapter 10 Controls * Chapter 11 Design-Time Integration: The Properties Window * Chapter 12 Design-Time Integration: Designers and Smart Tags * Chapter 13 Resources * Chapter 14 Applications * Chapter 15 Settings * Chapter 16 Data Binding Basics * Chapter 17 Applied Data Binding * Chapter 18 Multithreaded User Interfaces * Chapter 19 ClickOnce Deployment * Appendix A Whats New in Windows Forms 2.0 * Appendix C Delegates and Events * Appendix D Component and Control Survey * Appendix E Drag and Drop * Appendix F Document Management * Bibliography * Index
標簽: Windows Forms Programming Chris
上傳時間: 2013-12-03
上傳用戶:啊颯颯大師的
摘 要: 本文件是C8051單片機DA測試實驗程序;使用外部22.1184MHz晶振. 功能:定義 A ~ F 為功能鍵。 按"A" 鍵,輸出250HZ的方波,按"B" 鍵,輸出250HZ的正弦波形,按"C" 鍵,輸出250HZ的三角波, 按"D" 鍵,輸出250HZ的鋸齒波。用示波器在J6(DAC0)觀測結果,使用串口觀測按鍵信息。
上傳時間: 2014-01-17
上傳用戶:zxc23456789
1.功能 利用廣義逆求解無約束條件下的優化問題(C語言) 2.參數說明 int m : 非線性方程組中方程個數 int n : 非線性方程組中未知數個數 double eps1 : 控制最小二乘解的精度要求 double eps2 : 用于奇異值分解中的控制精度要求 double x[n] : 存放非線性方程組解的初始近似值X(0),要求各分量不全為0 int ka : Ka=max{m,n}+1 void (*f)() : 指向計算非線性方程組中各方程左端函數值的函數名(用戶自編) void (*s)() : 指向計算雅可比矩陣的函數名 int ngin() : 函數返回一個標志值 3.文件說明 ngin.c函數文件 ngin0.c主函數文件
上傳時間: 2013-12-23
上傳用戶:大三三
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
說明: 此計算機可以計算同時超過多個操作項的什. 例如: y = 3 + 64 * (2 + 3^5) + sinPI 的值, 用括號區分優先級,如果有大量很長的算式需要計算,可以試一下這個計算器. 開發語言: C#語言,用Stack原理實現
上傳時間: 2013-12-22
上傳用戶:change0329