Skip to content

Unintuitive rounding issues (canSense(myLocation + mySensorRadius) is not always true) #408

@axc

Description

@axc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions