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 revision Previous revision
base:approximation_to_distance [2020-02-10 21:45]
djmips
base:approximation_to_distance [2020-02-11 01:45]
djmips
Line 19: Line 19:
 ; input: x1,y1  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+; 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