Skip to content

Division by zero mathematical inconsistencies #932

Closed
@fcabouat

Description

@fcabouat

Hi,

In Elm repl I get :

-1 / 0 == 1 / -0
False : Bool

Which is a bit weird mathematically and comes from the fact that 1 / 0 gives Infinity where it should (imho) give NaN.

cheers,

François

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