summaryrefslogtreecommitdiff
path: root/mpz/tdiv_q.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2000-05-08 12:19:31 +0200
committertege <tege@gmplib.org>2000-05-08 12:19:31 +0200
commitc3c25050e62ef947cb8dbd77def300e7662e5066 (patch)
treeee5fb78e527641a4185452ba2a0434b1b79fca0c /mpz/tdiv_q.c
parentf79e78fa9535fee740047dd446ad541c35a6244d (diff)
downloadgmp-c3c25050e62ef947cb8dbd77def300e7662e5066.tar.gz
Correct comments.
Diffstat (limited to 'mpz/tdiv_q.c')
-rw-r--r--mpz/tdiv_q.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/mpz/tdiv_q.c b/mpz/tdiv_q.c
index faf66fd02..3187f1aa8 100644
--- a/mpz/tdiv_q.c
+++ b/mpz/tdiv_q.c
@@ -49,8 +49,6 @@ mpz_tdiv_q (quot, num, den)
if (ql <= 0)
{
- /* This needs to follow the assignment to rem, in case the
- numerator and quotient are the same. */
SIZ (quot) = 0;
return;
}
@@ -67,8 +65,7 @@ mpz_tdiv_q (quot, num, den)
Perhaps mpn_tdiv_qr should handle it, since it anyway often need to
allocate temp space. */
- /* Copy denominator to temporary space if it overlaps with the quotient
- or remainder. */
+ /* Copy denominator to temporary space if it overlaps with the quotient. */
if (dp == qp)
{
mp_ptr tp;
@@ -76,8 +73,7 @@ mpz_tdiv_q (quot, num, den)
MPN_COPY (tp, dp, dl);
dp = tp;
}
- /* Copy numerator to temporary space if it overlaps with the quotient or
- remainder. */
+ /* Copy numerator to temporary space if it overlaps with the quotient. */
if (np == qp)
{
mp_ptr tp;