文件名称:multiplication
-
所属分类:
- 标签属性:
- 上传时间:2017-10-22
-
文件大小:1.08mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用C语言实现两位小于1的二进制小数的原码一位乘法。
1. 首先设置两个真值的输入形式为字符串,这样便可以输入正负号和小数点。
2. 程序将两个字符串中的0和1提出存入整形数组
3. 分别提前编写好两个整形数组的相关函数。例如:数组输出函数、全加器函数、右移函数等等。
4. 按照流程图,定义B,C,A数组,长度均为N,N值在开头用define定义。长度N要尽可能设置大一些。
5. 按照流程图的结构,设置循环,判断等结构。最终计算出最后结果真值。(Using C language to achieve two less than 1 binary decimal number of the original code multiplication.
1. First set the input form of two truth values for the string, so you can enter the sign and decimal point.
2. The program puts 0 and 1 in the two strings into the array
3. Prepare the two integer array of related functions in advance. For example: array output function, full adder function, right shift function and so on.
4. According to the flow chart, the definition of B, C, A array, the length of N, N value defined at the beginning with define. Length N should be set as large as possible.
5. According to the structure of the flow chart, set the cycle, determine the structure. The final result is calculated.)
1. 首先设置两个真值的输入形式为字符串,这样便可以输入正负号和小数点。
2. 程序将两个字符串中的0和1提出存入整形数组
3. 分别提前编写好两个整形数组的相关函数。例如:数组输出函数、全加器函数、右移函数等等。
4. 按照流程图,定义B,C,A数组,长度均为N,N值在开头用define定义。长度N要尽可能设置大一些。
5. 按照流程图的结构,设置循环,判断等结构。最终计算出最后结果真值。(Using C language to achieve two less than 1 binary decimal number of the original code multiplication.
1. First set the input form of two truth values for the string, so you can enter the sign and decimal point.
2. The program puts 0 and 1 in the two strings into the array
3. Prepare the two integer array of related functions in advance. For example: array output function, full adder function, right shift function and so on.
4. According to the flow chart, the definition of B, C, A array, the length of N, N value defined at the beginning with define. Length N should be set as large as possible.
5. According to the structure of the flow chart, set the cycle, determine the structure. The final result is calculated.)
相关搜索: 原码一位乘法 C语言
二进制 计算机组成原理教学
(系统自动生成,下载前可以参看下载内容)
下载文件列表
multiplication
multiplication\.vs
multiplication\.vs\multiplication
multiplication\.vs\multiplication\v14
multiplication\.vs\multiplication\v14\.suo
multiplication\Debug
multiplication\Debug\multiplication.exe
multiplication\Debug\multiplication.ilk
multiplication\Debug\multiplication.pdb
multiplication\multiplication
multiplication\multiplication.sln
multiplication\multiplication.VC.db
multiplication\multiplication\Debug
multiplication\multiplication\Debug\multiplication.log
multiplication\multiplication\Debug\multiplication.obj
multiplication\multiplication\Debug\multiplication.tlog
multiplication\multiplication\Debug\multiplication.tlog\CL.read.1.tlog
multiplication\multiplication\Debug\multiplication.tlog\CL.write.1.tlog
multiplication\multiplication\Debug\multiplication.tlog\link.read.1.tlog
multiplication\multiplication\Debug\multiplication.tlog\link.write.1.tlog
multiplication\multiplication\Debug\multiplication.tlog\multiplication.lastbuildstate
multiplication\multiplication\Debug\vc140.idb
multiplication\multiplication\Debug\vc140.pdb
multiplication\multiplication\multiplication.c
multiplication\multiplication\multiplication.vcxproj
multiplication\multiplication\multiplication.vcxproj.filters
multiplication\.vs
multiplication\.vs\multiplication
multiplication\.vs\multiplication\v14
multiplication\.vs\multiplication\v14\.suo
multiplication\Debug
multiplication\Debug\multiplication.exe
multiplication\Debug\multiplication.ilk
multiplication\Debug\multiplication.pdb
multiplication\multiplication
multiplication\multiplication.sln
multiplication\multiplication.VC.db
multiplication\multiplication\Debug
multiplication\multiplication\Debug\multiplication.log
multiplication\multiplication\Debug\multiplication.obj
multiplication\multiplication\Debug\multiplication.tlog
multiplication\multiplication\Debug\multiplication.tlog\CL.read.1.tlog
multiplication\multiplication\Debug\multiplication.tlog\CL.write.1.tlog
multiplication\multiplication\Debug\multiplication.tlog\link.read.1.tlog
multiplication\multiplication\Debug\multiplication.tlog\link.write.1.tlog
multiplication\multiplication\Debug\multiplication.tlog\multiplication.lastbuildstate
multiplication\multiplication\Debug\vc140.idb
multiplication\multiplication\Debug\vc140.pdb
multiplication\multiplication\multiplication.c
multiplication\multiplication\multiplication.vcxproj
multiplication\multiplication\multiplication.vcxproj.filters
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.