projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ooops, how did that slip by? Fix return type of @ghcopy@.
[u/mdw/catacomb]
/
mp-arith.c
diff --git
a/mp-arith.c
b/mp-arith.c
index
aac408f
..
53584e7
100644
(file)
--- a/
mp-arith.c
+++ b/
mp-arith.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: mp-arith.c,v 1.1
6.2.1 2003/06/10 13:21:10
mdw Exp $
+ * $Id: mp-arith.c,v 1.1
7 2003/10/12 15:03:35
mdw Exp $
*
* Basic arithmetic on multiprecision integers
*
*
* Basic arithmetic on multiprecision integers
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: mp-arith.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: mp-arith.c,v $
+ * Revision 1.17 2003/10/12 15:03:35 mdw
+ * Merge fix from other branch.
+ *
* Revision 1.16.2.1 2003/06/10 13:21:10 mdw
* Fix bug dividing small things by large ones.
*
* Revision 1.16.2.1 2003/06/10 13:21:10 mdw
* Fix bug dividing small things by large ones.
*
@@
-622,7
+625,7
@@
void mp_div(mp **qq, mp **rr, mp *a, mp *b)
if (r)
MP_DROP(r);
r = a;
if (r)
MP_DROP(r);
r = a;
- MP_DEST(r, M
P_LEN(b
) + 2, a->f | b->f);
+ MP_DEST(r, M
AX(MP_LEN(a), MP_LEN(b)
) + 2, a->f | b->f);
/* --- Fix up the quotient too --- */
/* --- Fix up the quotient too --- */