projects
/
u
/
mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8857f8e
)
Fix const annotation.
author
mdw
<mdw>
Fri, 19 Nov 1999 13:19:14 +0000
(13:19 +0000)
committer
mdw
<mdw>
Fri, 19 Nov 1999 13:19:14 +0000
(13:19 +0000)
mp.h
patch
|
blob
|
blame
|
history
diff --git
a/mp.h
b/mp.h
index
72aa675
..
6f8959a
100644
(file)
--- a/
mp.h
+++ b/
mp.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: mp.h,v 1.
2 1999/11/17 18:02:16
mdw Exp $
+ * $Id: mp.h,v 1.
3 1999/11/19 13:19:14
mdw Exp $
*
* Simple multiprecision arithmetic
*
*
* Simple multiprecision arithmetic
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: mp.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: mp.h,v $
+ * Revision 1.3 1999/11/19 13:19:14 mdw
+ * Fix const annotation.
+ *
* Revision 1.2 1999/11/17 18:02:16 mdw
* New multiprecision integer arithmetic suite.
*
* Revision 1.2 1999/11/17 18:02:16 mdw
* New multiprecision integer arithmetic suite.
*
@@
-396,7
+399,7
@@
extern void mp_minimize(mp */*m*/);
extern void mp_scan(mpscan */*sc*/, const mp */*m*/);
#define MP_SCAN(sc, m) do { \
extern void mp_scan(mpscan */*sc*/, const mp */*m*/);
#define MP_SCAN(sc, m) do { \
-
mp *_mm = (m);
\
+
const mp *_mm = (m);
\
mpscan *_sc = (sc); \
MPSCAN_INITX(_sc, _mm->v, _mm->vl); \
} while (0)
mpscan *_sc = (sc); \
MPSCAN_INITX(_sc, _mm->v, _mm->vl); \
} while (0)