projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename MP_IS* to MP_*P, for consistency's sake. Use these macros more often.
[u/mdw/catacomb]
/
g-prime.c
diff --git
a/g-prime.c
b/g-prime.c
index
aa17685
..
6b9d28b
100644
(file)
--- a/
g-prime.c
+++ b/
g-prime.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id
: g-prime.c,v 1.4 2004/04/08 01:36:15 mdw Exp
$
+ * $Id$
*
* Abstraction for prime groups
*
*
* Abstraction for prime groups
*
@@
-173,7
+173,7
@@
group *group_prime(const gprime_param *gp)
{
gctx *g;
{
gctx *g;
- if (!MP_
ISPOS(gp->p) || !MP_ISODD
(gp->p))
+ if (!MP_
POSP(gp->p) || !MP_ODDP
(gp->p))
return (0);
g = CREATE(gctx);
g->g.ops = &gops;
return (0);
g = CREATE(gctx);
g->g.ops = &gops;