dotnet / dotnet/dotnet-api-docs

Incorrect definition of gcd

Open
#1,296 0 comments 0 reactions 0 assignees View on GitHub
area-System.Numerics dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

"The greatest common divisor is the largest number into which the two BigInteger values can be divided without returning a remainder. "

Simply wrong. I would suggest that the following was intended.

"The greatest common divisor is the largest number that can divide either BigInteger value without remainder. "

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: fc484219-bb3f-4aac-b9a3-92970264134d
* Version Independent ID: e40ab9c7-dcf5-ce69-1062-e174de048605
* Content: [BigInteger.GreatestCommonDivisor(BigInteger, BigInteger) Method (System.Numerics)](https://docs.microsoft.com/en-us/dotnet/api/system.numerics.biginteger.greatestcommondivisor?view=netframework-4.7.2)
* Content Source: [xml/System.Numerics/BigInteger.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Numerics/BigInteger.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.