User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
base:approximation_to_distance [2020-02-10 21:44]
base:approximation_to_distance [2020-02-11 01:45]
Line 17: Line 17:
 ; than (9/8) + one bit uncertainty. ; than (9/8) + one bit uncertainty.
-; input: x1,y2  x2,y2+; input: x1,y1  x2,y2
 ; uses: A xd,yd ; 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