Skip to content

modBy gives runtime error when called with zero divident #1034

Closed
@decafbad

Description

@decafbad

Basics.modBy 0 3
Error: Cannot perform mod 0. Division by zero error.

Besides that, its sibling returns an impossible thing

Basic.remainderBy 0 3
NaN : Int

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