Skip to content

Bug: subtract function returns wrong result for negative numbers #1

@colinhacks

Description

@colinhacks

When calling subtract(-1, -2), the expected result is 1 but the function may not handle negative numbers correctly. We should add proper test cases for negative number arithmetic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions