base:approximation_to_distance
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
base:approximation_to_distance [2020-02-10 21:43] – djmips | base:approximation_to_distance [2020-02-11 01:45] (current) – djmips | ||
---|---|---|---|
Line 16: | Line 16: | ||
; with only overestimations, | ; with only overestimations, | ||
; than (9/8) + one bit uncertainty. | ; than (9/8) + one bit uncertainty. | ||
+ | |||
+ | ; input: x1,y1 x2,y2 | ||
+ | ; uses: A xd,yd | ||
+ | ; output: approximate distance between x1,y1 and x2,y2 in A + ninth bit in C | ||
+ | ; If the actual distance is 228 or less the result estimate will fit in 8 bits | ||
Dist: | Dist: |
base/approximation_to_distance.txt · Last modified: 2020-02-11 01:45 by djmips