chiark
/
gitweb
/
~mdw
/
catacomb
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
@@@ i386 wip
[catacomb]
/
utils
/
factor.h
1
#ifndef FACTOR_H
2
#define FACTOR_H
3
4
#include <mLib/darray.h>
5
6
#include "mp.h"
7
8
typedef struct fact {
9
mp *p;
10
unsigned e;
11
mp *n;
12
mp *r;
13
} fact;
14
DA_DECL(fact_v, fact);
15
16
extern void factor(mp *, fact_v *);
17
extern void freefactors(fact_v *);
18
19
#endif