本题的算法中涉及的三个函数: 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