本題的算法中涉及的三個函數: double bbp(int n,int k,int l) 其中n為十六進制位第n位,k取值范圍為0到n+7,用來計算16nS1,16nS2,16nS3,16nS4小數部分的每一項。返回每一項的小數部分。 void pi(int m,int n,int p[]) 計算從n位開始的連續m位的十六進制數字。其中p為存儲十六進制數字的數組。 void div(int p[]) void add(int a[],int b[]) 這兩個函數都是為最后把十六進制數字轉換為十進制數字服務的。 最后把1000個數字分別存儲在整型數組r[]中,輸出就是按順序輸出該數組。
上傳時間: 2014-01-05
上傳用戶:xcy122677
ping command in raw tcpip mode in delphi source code
標簽: command delphi source tcpip
上傳時間: 2013-12-27
上傳用戶:稀世之寶039
CCS的運行環境下的DSP2812種b部分程序代碼,剛剛學習,希望大家有所幫助
上傳時間: 2014-01-21
上傳用戶:zukfu
選舉投票程序 設代號為"A","B","C 的三個足球先生
上傳時間: 2013-11-26
上傳用戶:rocketrevenge
UC Library Extensions UnderC comes with a pocket implementation of the standard C++ libraries, which is a reasonably faithful subset. This documentation describes those UnderC functions and classes which are not part of the C++ standard. UC Library Builtin functions: Most of these are standard C functions, but there are a few unique to the UnderC system which give you runtime access to the compiler. You may evaluate expressions, execute commands, compile code, etc. * Expands the text in expr using the UnderC preprocessor, putting the result into buff. void uc_macro_subst(const char* expr, char* buff, int buffsize) * Executes a UC #-command, like #l or #help. uc_cmd() expects the name of the command, _without_ the hash, e.g. uc_cmd("l fred.cpp") or uc_cmd("help"). void uc_cmd(const char* cmd) * Evaluates any C++ expression or statement will return non-zero if unsuccessful.
標簽: implementation Extensions libraries standard
上傳時間: 2013-12-14
上傳用戶:leehom61
ITU-T G.729語音壓縮算法。 description: Fixed-point description of commendation G.729 with ANNEX B Coding of Speech at 8 kbit/s using Conjugate-Structure Algebraic-Code-Excited Linear-Prediction (CS-ACELP) with Voice Activity Decision(VAD), Discontinuous Transmission(DTX), and Comfort Noise Generation(CNG).
標簽: description commendation Fixed-point 729
上傳時間: 2014-11-23
上傳用戶:thesk123
電子商務網站使用MVC模式B/S結構功能不是很全適合初學者看
上傳時間: 2015-12-22
上傳用戶:6546544
一.設計要求 1.道路有A.B兩路,一般情況A.B均有車時,兩路各放行10S. 2.紅綠燈轉換必須經過4秒黃燈閃爍. 3.若兩路均無車則保持原狀. 4.若一路通行無阻10秒后,另一路無車,則繼續放行此路,直到另一路有車. 5.若有緊急車輛通過兩路均無紅燈4秒,阻止一般車輛通過,讓緊急車輛通過6.在數碼管顯示各路通行的標志和剩余時間.
上傳時間: 2015-12-25
上傳用戶:siguazgb
matlab樣條工具箱介紹包括: 三次插值樣條函數 PP形式的樣條函數的構造及操作 B形式樣條函數的構造和應用 其他函數 舉例
上傳時間: 2014-08-24
上傳用戶:busterman
1、典型連續時間信號波形繪制 1)單邊指數信號 要求: (1) 畫出t=0,1,2,…,500共501點 (2)在一個坐標系中用三種不同顏色分別繪制如下三種情況下的波形 (a) E=200,X=62.5 (b) E=200,X=125.0 (c) E=200,X=250.0 (3)標出特殊點的坐標,如t=0和 的坐標 代碼為此題目的解
上傳時間: 2014-11-30
上傳用戶:小草123