version 1.9, 2001/06/28 08:57:20 |
version 1.11, 2001/08/02 03:59:15 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/builtin/gf.c,v 1.8 2001/06/25 10:01:27 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/builtin/gf.c,v 1.10 2001/07/03 01:41:25 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
|
|
} |
} |
dx = getdeg(x,f); |
dx = getdeg(x,f); |
dy = getdeg(y,f); |
dy = getdeg(y,f); |
if ( bound < dy+1 ) bound = dy+1; |
dy = MAX(dy,bound); |
fl = BMALLOC(dx,bound); |
fl = BMALLOC(dx,dy); |
ptosfbm(bound,f,fl); |
ptosfbm(dy,f,fl); |
shiftsfbm(bound,fl,FTOIF(CONT(ev))); |
if ( ev ) shiftsfbm(fl,FTOIF(CONT(ev))); |
|
|
/* fm = fl mod y */ |
/* fm = fl mod y */ |
fm = W_UMALLOC(dx); |
fm = W_UMALLOC(dx); |
|
|
r[i] = fl; |
r[i] = fl; |
|
|
for ( i = fn-1, top = 0; i >= 0; i-- ) { |
for ( i = fn-1, top = 0; i >= 0; i-- ) { |
sfbmtop(bound,r[i],x,y,&s); |
sfbmtop(r[i],x,y,&s); |
reorderp(CO,vl,s,&u); |
reorderp(CO,vl,s,&u); |
MKNODE(t,u,top); top = t; |
MKNODE(t,u,top); top = t; |
} |
} |