summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal/libmpdec/mpdecimal.c
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2013-01-16 14:19:16 (GMT)
committerStefan Krah <skrah@bytereef.org>2013-01-16 14:19:16 (GMT)
commite2515e4997773aa42a9d6dd60d9b5e4c6e89384e (patch)
tree2dbcf1d2ba159904510ac934c20f52898d7916c8 /Modules/_decimal/libmpdec/mpdecimal.c
parentcc0589dbb97111896f981a1546a74726f318d553 (diff)
parent752bfb71d8cdcdd355e8efcaf7c3eba434573f05 (diff)
downloadcpython-e2515e4997773aa42a9d6dd60d9b5e4c6e89384e.zip
cpython-e2515e4997773aa42a9d6dd60d9b5e4c6e89384e.tar.gz
cpython-e2515e4997773aa42a9d6dd60d9b5e4c6e89384e.tar.bz2
Merge 3.3.
Diffstat (limited to 'Modules/_decimal/libmpdec/mpdecimal.c')
-rw-r--r--Modules/_decimal/libmpdec/mpdecimal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_decimal/libmpdec/mpdecimal.c b/Modules/_decimal/libmpdec/mpdecimal.c
index 6633fb6..721174d 100644
--- a/Modules/_decimal/libmpdec/mpdecimal.c
+++ b/Modules/_decimal/libmpdec/mpdecimal.c
@@ -3119,7 +3119,7 @@ _mpd_qaddsub(mpd_t *result, const mpd_t *a, const mpd_t *b, uint8_t sign_b,
* ----------XX1234 -> sdigits
* ----------X1 -> tiny-digits
* |- prec -|
- *
+ *
* OR
*
* bdigits > prec AND
@@ -5983,7 +5983,7 @@ finish:
mpd_qfinalize(result, ctx, status);
}
-/*
+/*
* If the exponent is infinite and base equals one, the result is one
* with a coefficient of length prec. Otherwise, result is undefined.
* Return the value of the comparison against one.
@@ -7129,7 +7129,7 @@ _mpd_base_ndivmod(mpd_t *q, mpd_t *r, const mpd_t *a, const mpd_t *b,
goto nanresult;
}
- /* Let x := _mpd_qreciprocal(b, prec)
+ /* Let x := _mpd_qreciprocal(b, prec)
* Then x is bounded by:
* 1) 1/b - 10**(-prec - bdigits) < x < 1/b + 10**(-prec - bdigits)
* 2) 1/b - 10**(-adigits - 4) < x < 1/b + 10**(-adigits - 4)