projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
progs/catsign.c: Remove old debugging code.
[u/mdw/catacomb]
/
utils
/
fnb.c
diff --git
a/utils/fnb.c
b/utils/fnb.c
index
98941c9
..
11a9585
100644
(file)
--- a/
utils/fnb.c
+++ b/
utils/fnb.c
@@
-304,11
+304,11
@@
mp *poly_solve(field *f, mp *d, mp *p, grand *r)
poly_mul(f, &c, &c, &c);
poly_add(f, &c, &c, &ut);
poly_div(f, 0, &c, &c, &g);
poly_mul(f, &c, &c, &c);
poly_add(f, &c, &c, &ut);
poly_div(f, 0, &c, &c, &g);
-/*
putchar('.'); fflush(stdout); */
+/* putchar('.'); fflush(stdout); */
}
}
-/*
poly_dump(f, "c-out", &c); */
+/* poly_dump(f, "c-out", &c); */
poly_gcd(f, &h, &c, &g);
poly_gcd(f, &h, &c, &g);
-/*
poly_dump(f, "h", &h); */
+/* poly_dump(f, "h", &h); */
if (POLY_CONSTANTP(&h) || POLY_DEGREE(&h) == POLY_DEGREE(&g))
continue;
if (2 * POLY_DEGREE(&h) > POLY_DEGREE(&g))
if (POLY_CONSTANTP(&h) || POLY_DEGREE(&h) == POLY_DEGREE(&g))
continue;
if (2 * POLY_DEGREE(&h) > POLY_DEGREE(&g))
@@
-446,7
+446,7
@@
static mp *fieldpoly(unsigned m, int t, grand *rr)
#else
abort();
#endif
#else
abort();
#endif
- } break;
+ } break;
}
return (p);
}
}
return (p);
}
@@
-473,7
+473,7
@@
static mp *fip(unsigned m)
n = 0;
while (!dofip(m, &p, n, m))
n += 2;
n = 0;
while (!dofip(m, &p, n, m))
n += 2;
- return (p);
+ return (p);
}
static mp *fnb(mp *p)
}
static mp *fnb(mp *p)