Abstract. Computing reciprocal square roots is necessary in many applications, such as vector normalization in video games. Often, some loss of precision is acceptable for a large increase in speed. This note examines and improves a fast method foun
Design an algorithm for computing √n (sqrt(n))for any positive integer n. Besides assignment and comparison, your algorithm may only use the four basic arithmetical operations.
Microchip公司的快速平方根算法,适合对算法感兴趣的朋友sectlon⊥nf
Type Address Location size(Bytes
R VCR
orog
init
0x00002a
program
code
0x00002c
program 0x0000f4
SRoot
0x000120
y Usage
start
0X000000
284 out of 32786 program addresses used, program memory utilization is 0%