Skip to content

Should the counting functions return an integer instead of a number #1090

@christianp

Description

@christianp

The functions comb, perm, gcd and lcm work on integers and return integers. They should return values with the type integer instead of number.

Even though "integer" values can be automatically cast to "number" values, this could be a breaking change if any questions currently rely on something that would be sensitive to a later value having more precision.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficult!Issues that will take a long time to implement, or involve big breaking changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions