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

Correct documentation for gcd #50

Merged
merged 1 commit into from Mar 21, 2022
Merged

Correct documentation for gcd #50

merged 1 commit into from Mar 21, 2022

Commits on Mar 16, 2022

  1. Correct documentation for gcd

    `gcd` asserts that the result is "always positive", but the result is (correctly) zero if both parameters are zero, so replace "positive" with "non-negative".
    
    (Zero is correct here because 0Z + 0Z = 0Z where Z is the integers)
    ciphergoth committed Mar 16, 2022
    Copy the full SHA
    bba8f3d View commit details
    Browse the repository at this point in the history