文件名称:(2)
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:4.19kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用减奇数开平方运算
8086/8088指令系统中有乘除法指令但没有开平方指令,因此,开平方运算是通过程序来实现的。用减奇数法可求得近似平方根,获得平方根的整数部分。我们知道,N个自然数中的奇数之和等于N2 ,即:
1+3+5=32
1+3+5+7=16=42
1+3+5+7+9+11+13+15=64+82-Odd square root operation with reduced instruction set in 8086/8088 multiply and divide instructions, but no square root instruction, therefore, square root operation is achieved through the process. Reduction method can be obtained with approximate square root of the odd, the integer part to obtain the square root. We know, N a natural number equal to the sum of the odd N2, namely: 1+3+5 = 32 1+3+5+7 = 16 = 42 1+3+5+7+9+11+13+15 = 64+82
8086/8088指令系统中有乘除法指令但没有开平方指令,因此,开平方运算是通过程序来实现的。用减奇数法可求得近似平方根,获得平方根的整数部分。我们知道,N个自然数中的奇数之和等于N2 ,即:
1+3+5=32
1+3+5+7=16=42
1+3+5+7+9+11+13+15=64+82-Odd square root operation with reduced instruction set in 8086/8088 multiply and divide instructions, but no square root instruction, therefore, square root operation is achieved through the process. Reduction method can be obtained with approximate square root of the odd, the integer part to obtain the square root. We know, N a natural number equal to the sum of the odd N2, namely: 1+3+5 = 32 1+3+5+7 = 16 = 42 1+3+5+7+9+11+13+15 = 64+82
(系统自动生成,下载前可以参看下载内容)
下载文件列表
(2).doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.