projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed from `rsa-decrypt', since the name was no longer appropriate.
[u/mdw/catacomb]
/
mpx.c
diff --git
a/mpx.c
b/mpx.c
index
7f0b25a
..
327699c
100644
(file)
--- a/
mpx.c
+++ b/
mpx.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: mpx.c,v 1.
8 2000/06/25 12:59:02
mdw Exp $
+ * $Id: mpx.c,v 1.
9 2000/06/26 07:52:50
mdw Exp $
*
* Low-level multiprecision arithmetic
*
*
* Low-level multiprecision arithmetic
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: mpx.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: mpx.c,v $
+ * Revision 1.9 2000/06/26 07:52:50 mdw
+ * Portability fix for the bug fix.
+ *
* Revision 1.8 2000/06/25 12:59:02 mdw
* (mpx_udiv): Fix bug in quotient digit estimation.
*
* Revision 1.8 2000/06/25 12:59:02 mdw
* (mpx_udiv): Fix bug in quotient digit estimation.
*
@@
-839,7
+842,7
@@
void mpx_udiv(mpw *qv, mpw *qvl, mpw *rv, mpw *rvl,
yh -= d;
if (yl < dd)
yh--;
yh -= d;
if (yl < dd)
yh--;
- yl
-= dd
;
+ yl
= MPW(yl - dd)
;
}
}
}
}