Skip to content

Add more assertion helpers for floating-point tests #174

@valadaptive

Description

@valadaptive

Right now, the tests for floating-point operations perform either a floating-point comparison or a bitwise comparison. There are issues with both of these approaches:

We should add a new assertion that treats -0.0 == +0.0, and all NaNs as equal.

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