version 1.7, 2000/12/15 05:30:08 |
version 1.8, 2000/12/16 06:16:10 |
|
|
* OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY |
* OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY |
* 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/io/spexpr.c,v 1.6 2000/12/13 10:54:09 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/io/spexpr.c,v 1.7 2000/12/15 05:30:08 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "al.h" |
#include "al.h" |
|
|
} |
} |
|
|
#if PARI |
#if PARI |
|
#include "genpari.h" |
|
|
|
void myoutbrute(g) |
|
GEN g; |
|
{ |
|
bruteall(g,'f',-1,1); |
|
} |
|
|
void sprintbf(a) |
void sprintbf(a) |
BF a; |
BF a; |
{ |
{ |
char *str; |
char *str; |
char *GENtostr(); |
char *GENtostr(); |
|
char *GENtostr0(); |
|
|
str = GENtostr(a->body); |
if ( double_output ) { |
|
str = GENtostr0(a->body,myoutbrute); |
|
} else { |
|
str = GENtostr(a->body); |
|
} |
TAIL PRINTF(OUT,"%s",str); |
TAIL PRINTF(OUT,"%s",str); |
free(str); |
free(str); |
} |
} |
Line 629 BYTEARRAY array; |
|
Line 642 BYTEARRAY array; |
|
unsigned char *b; |
unsigned char *b; |
|
|
len = array->len; |
len = array->len; |
b =array->body; |
b = array->body; |
PUTS("|"); |
PUTS("|"); |
for ( i = 0; i < len-1; i++ ) { |
for ( i = 0; i < len-1; i++ ) { |
TAIL PRINTF(OUT,"%02x ",b[i]); |
TAIL PRINTF(OUT,"%02x ",(unsigned int)b[i]); |
} |
} |
TAIL PRINTF(OUT,"%02x",b[i]); |
TAIL PRINTF(OUT,"%02x",(unsigned int)b[i]); |
PUTS("|"); |
PUTS("|"); |
} |
} |
|
|