剖析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
上傳用戶:徐孺
用c語言編程,定步長基爾法求解一階常微分方程,給定一階常微分方程的初值問題。
上傳時間: 2014-01-17
上傳用戶:日光微瀾
矩陣運算的算法 用Type類數組創建矩陣對象 matrix(int rows,int cols) //創建矩陣,值為0 matrix(int n) //創建單位陣 matrix(const matrix &) //拷貝構造函數 BOOL Ismatrixf(){ return (rows==cols) } //判斷矩陣是否為方陣 modifyrowscols(int rows,int cols) //修改矩陣的行列數 ~matrix() {delete []elems } //析構函數
上傳時間: 2015-07-14
上傳用戶:水口鴻勝電器
- 嚴蔚敏《數據結構(c語言版)習題集》 參考答案 [數據結構與算法——面向對象的C++設計模式.rar] - 本書的主要內容是數據結構和算法的基本原理--這是設計大而復雜的軟件產品所必須具備的基礎 [課程設計稀疏矩陣運算器.zip] - 數據結構的課程設計---稀疏矩陣運算器 希望可以給大家參考 [ARMprogramoptimize.rar] - ARM程序設計優化策略與技術 很不錯和大家分享 [稀疏矩陣的運算器.zip] - 稀疏矩陣的運算器 [基本要求] 以“帶行邏輯鏈接信息”的三元組順序表表示稀疏矩陣,實現兩 個矩 陣相加、相減、相乘的運算。稀疏矩陣的輸入形式采用三元組表?BR>
上傳時間: 2013-12-22
上傳用戶:SimonQQ
- 嚴蔚敏《數據結構(c語言版)習題集》 參考答案 [數據結構與算法——面向對象的C++設計模式.rar] - 本書的主要內容是數據結構和算法的基本原理--這是設計大而復雜的軟件產品所必須具備的基礎 [課程設計稀疏矩陣運算器.zip] - 數據結構的課程設計---稀疏矩陣運算器 希望可以給大家參考 [ARMprogramoptimize.rar] - ARM程序設計優化策略與技術 很不錯和大家分享 [稀疏矩陣的運算器.zip] - 稀疏矩陣的運算器 [基本要求] 以“帶行邏輯鏈接信息”的三元組順序表表示稀疏矩陣,實現兩 個矩 陣相加、相減、相乘的運算。稀疏矩陣的輸入形式采用三元組表?BR>
上傳時間: 2015-08-10
上傳用戶:wff
本人初學c語言程序不是很拿手,n!的求法。。希望大家指教
上傳時間: 2015-08-13
上傳用戶:athjac
n皇后問題,rar格式,運行環境c++,n〉=1
標簽:
上傳時間: 2015-08-16
上傳用戶:helmos
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
C語言 打印“魔方陣”,所謂魔方陣是指這樣的方陣 ,它的每一行,每一列和對角線之間和均相等。例如,三階魔方陣為 8 1 6 3 5 7 4 9 2 要求打印出1~n的平方數的自然數的魔方陣。
上傳時間: 2015-08-26
上傳用戶:er1219
C# BigInteger class. BigInteger.cs is a csharp program. It is the BIgInteger class. It has methods: abs() , FermatLittleTest(int confidence) ,gcd(BigInteger bi) , genCoPrime(int bits, Random rand) , genPseudoPrime(int bits, int confidence, Random rand) , genRandomBits(int bits, Random rand) , isProbablePrime(int confidence) , isProbablePrime() , Jacobi(BigInteger a, BigInteger b) , LucasSequence(BigInteger P, BigInteger Q, BigInteger k, BigInteger n) ,max(BigInteger bi) , min(BigInteger bi) , modInverse(BigInteger modulus) , RabinMillerTest(int confidence) ,
標簽: BigInteger class BIgInteger program
上傳時間: 2013-12-23
上傳用戶:ynzfm