You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unintuitive rounding issues (canSense(myLocation + mySensorRadius) is not always true) #408
I suspect some of these results, especially darkshark's new MapLocation(513.516327, 432.636902) == [513.516357, 432.636902] (there IS a difference in those coordinates) may be a result of strictftp being used in the MapLocation class but (potentially) not in player code. This would then be related to #302.
Not sure if we'd consider this a bug or just expected behavior (due to floating point precision). This also applies for the MapLocation equals method.
http://battlecodeforum.org/t/assertcansenselocation-is-bugged/434