Skip to content

infinity-related functions shouldn't be generic over Num #4788

Closed
@brson

Description

@brson

num::is_infinity, etc. are generic functions on the Num, One and Zero traits and do divides by zero. This doesn't make sense for integers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions