diff options
Diffstat (limited to 'Doc/library/fractions.rst')
-rw-r--r-- | Doc/library/fractions.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst index 0861e68..68a8ef6 100644 --- a/Doc/library/fractions.rst +++ b/Doc/library/fractions.rst @@ -126,11 +126,11 @@ another rational number, or from a string. .. function:: gcd(a, b) - Return the greatest common divisor of the integers `a` and `b`. If - either `a` or `b` is nonzero, then the absolute value of `gcd(a, - b)` is the largest integer that divides both `a` and `b`. `gcd(a,b)` - has the same sign as `b` if `b` is nonzero; otherwise it takes the sign - of `a`. `gcd(0, 0)` returns `0`. + Return the greatest common divisor of the integers *a* and *b*. If either + *a* or *b* is nonzero, then the absolute value of ``gcd(a, b)`` is the + largest integer that divides both *a* and *b*. ``gcd(a,b)`` has the same + sign as *b* if *b* is nonzero; otherwise it takes the sign of *a*. ``gcd(0, + 0)`` returns ``0``. .. seealso:: |