/[gcl]/gcl/h/mp.h
ViewVC logotype

Diff of /gcl/h/mp.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by wfs, Fri May 18 08:52:02 2001 UTC revision 1.5 by camm, Fri May 17 04:23:15 2002 UTC
# Line 84  typedef struct Line 84  typedef struct
84  #define SET_BIG_SIGN(x,sign) \  #define SET_BIG_SIGN(x,sign) \
85    do{if (sign < 0) {if (big_sign(x) > 0) mpz_neg(MP(x),MP(x)); } \    do{if (sign < 0) {if (big_sign(x) > 0) mpz_neg(MP(x),MP(x)); } \
86        else { if (big_sign(x) < 0)  mpz_neg(MP(x),MP(x)); } } while(0)        else { if (big_sign(x) < 0)  mpz_neg(MP(x),MP(x)); } } while(0)
87  #define MP_LOW(u,n) ((u)->_mp_d)  #define MP_LOW(u,n) (*(u)->_mp_d)
88            
89  /* the bit length of each word in bignum representation */  /* the bit length of each word in bignum representation */
90  #define BIG_RADIX 32  #define BIG_RADIX 32

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26