projects
/
u
/
mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
064939b
)
Correctly work with the bizarre negative bases the @mptext@ functions allow.
author
mdw
<mdw>
Wed, 26 Oct 2005 15:42:43 +0000
(15:42 +0000)
committer
mdw
<mdw>
Wed, 26 Oct 2005 15:42:43 +0000
(15:42 +0000)
mptext-len.c
patch
|
blob
|
blame
|
history
diff --git
a/mptext-len.c
b/mptext-len.c
index
cf208af
..
ffb2df9
100644
(file)
--- a/
mptext-len.c
+++ b/
mptext-len.c
@@
-73,6
+73,7
@@
size_t mptext_len(mp *x, int r)
/* --- Find the right pair of points --- */
+ if (r < 0) r = -r;
do {
s = ss;
d++;