[BACK]Return to gmpq.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / engine

Diff for /OpenXM_contrib2/asir2000/engine/gmpq.c between version 1.7 and 1.8

version 1.7, 2017/02/28 07:06:28 version 1.8, 2017/08/31 02:36:21
Line 84  Q gztoz(GZ a)
Line 84  Q gztoz(GZ a)
   
         if ( !a ) return 0;          if ( !a ) return 0;
         len = WORDSIZE_IN_N(BDY((GZ)a)); nm = NALLOC(len);          len = WORDSIZE_IN_N(BDY((GZ)a)); nm = NALLOC(len);
     fprintf(stderr,"%d ",len);
         mpz_export(BD(nm),&len,-1,sizeof(int),0,0,BDY((GZ)a));          mpz_export(BD(nm),&len,-1,sizeof(int),0,0,BDY((GZ)a));
         PL(nm) = len;          PL(nm) = len;
         sgn = mpz_sgn(BDY((GZ)a)); NTOQ(nm,sgn,q);          sgn = mpz_sgn(BDY((GZ)a)); NTOQ(nm,sgn,q);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>