Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
christianp opened this issue Mar 5, 2024 · 0 comments
Open
Labels
Difficult! Issues that will take a long time to implement, or involve big breaking changes

Comments

@christianp
Copy link
Member

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.

@christianp christianp added the Difficult! Issues that will take a long time to implement, or involve big breaking changes label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficult! Issues that will take a long time to implement, or involve big breaking changes
Projects
None yet
Development

No branches or pull requests

1 participant