User Tools

Site Tools


base:approximation_to_distance

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
base:approximation_to_distance [2020-02-10 21:44] djmipsbase:approximation_to_distance [2020-02-11 01:45] (current) djmips
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.1581367484.txt.gz · Last modified: 2020-02-10 21:44 by djmips