A lot of games store object positions as floats and have a closed ball for the game area (eg. a rectangle and objects are allowed to have position coordinates on all 4 edges).
However, this becomes problematic when partitioning the game area (eg. gridding/quadtrees). The edge cases would have to be added in so that 2 edges of the game area are included in rectangles that touch them or objects on 2 edges would have to be missed out in the partition.
Is there another solution to this or do games (and other programs this applies to) usually go with one of the above 2?
(One solution is to use integer coordinates, but what if using floats is unavoidable?)