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:43] djmipsbase:approximation_to_distance [2020-02-11 01:45] (current) djmips
Line 16: Line 16:
 ; with only overestimations, and then never by more ; with only overestimations, and then never by more
 ; 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