=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/io/pexpr_body.c,v retrieving revision 1.13 retrieving revision 1.19 diff -u -p -r1.13 -r1.19 --- OpenXM_contrib2/asir2000/io/pexpr_body.c 2006/08/27 22:17:28 1.13 +++ OpenXM_contrib2/asir2000/io/pexpr_body.c 2016/06/29 08:16:11 1.19 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM_contrib2/asir2000/io/pexpr_body.c,v 1.12 2006/04/16 00:51:14 noro Exp $ */ +/* $OpenXM: OpenXM_contrib2/asir2000/io/pexpr_body.c,v 1.18 2015/08/14 13:51:55 fujimoto Exp $ */ #define PRINTHAT (fortran_output?PUTS("**"):PUTS("^")) @@ -689,7 +689,7 @@ Num q; int i,expo; m = (unsigned int *)&BDY((Real)q); -#if defined(__i386__) || defined(MIPSEL) || defined(VISUAL) || defined(__alpha) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__x86_64) +#if defined(__i386__) || defined(MIPSEL) || defined(VISUAL) || defined(__MINGW32__) || defined(__alpha) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__x86_64) || defined(__ARM_ARCH) || defined(ANDROID) u = m[1]; l = m[0]; #else u = m[0]; l = m[1]; @@ -765,10 +765,8 @@ Num q; case N_A: PUTS("("); PRINTR(ALG,(R)BDY((Alg)q)); PUTS(")"); break; -#if defined(PARI) case N_B: PRINTBF((BF)q); break; -#endif #if defined(INTERVAL) case N_IP: case N_IntervalBigFloat: @@ -889,6 +887,12 @@ Num q; PUTS("/"); PRINTN(NM(dn)); } + break; + case N_GZ: + mpz_out_str(OUT,10,BDY((GZ)q)); + break; + case N_GQ: + mpq_out_str(OUT,10,BDY((GQ)q)); break; } }