base:fast_sqrt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
base:fast_sqrt [2019-07-27 18:20] – verz | base:fast_sqrt [2019-07-27 21:28] – verz | ||
---|---|---|---|
Line 394: | Line 394: | ||
Incidentally the algorithm provides also the remainder via (M LSR p)\\ | Incidentally the algorithm provides also the remainder via (M LSR p)\\ | ||
- | //p// can be greater than necessary, just producing more iterations. A value of p=16 can be choosed | + | //p// can be greater than necessary, just producing more iterations. A value of p=16 permits |
This is the code for a 32bit integer Sqrt. Provides the result and the remainder: | This is the code for a 32bit integer Sqrt. Provides the result and the remainder: |
base/fast_sqrt.txt · Last modified: 2019-08-18 20:28 by verz