Skip to content

Item 8: float and double fields #3

@ftomassetti

Description

@ftomassetti

In the equals method float and double fields should be compared using Float.compare and Double.compare because of the existence of NaN and -0.0f (see Float documentation).

We could write a query that check that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions