Difference between revisions of "Thread:Talk:Polylunar/Guaranteed Hit?/reply (4)"

From Robowiki
Jump to navigation Jump to search
m (Reply to Guaranteed Hit?)
 
(No difference)

Latest revision as of 13:00, 24 July 2018

It gives a NaN but a distance less than 36 is impossible in robocode. botWidth / distance is always incorrect, asin(botWidth / distance) is always incorrect too but it less incorrect however, asin(botWidth / (distance - 18) is correct in four cases and gives higher results than all other imprecise formulas which always results in closer results to the precise one.