Changeset cf21dd4 in git for Singular/ipshell.cc
- Timestamp:
- Jul 21, 2010, 10:35:12 AM (13 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 76e50131b2b048f970f871fc09f3ad7fa94fd50f
- Parents:
- f9f879c1f6d30f79ea772c2280be1b75d3256e46
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
rf9f879 rcf21dd4 1974 1974 { 1975 1975 R->ch = R->ringflagb; 1976 if ((mpz_cmp_ui(R->ringflaga, 2) == 0) && (R->ringflagb < 8*sizeof(NATNUMBER))) 1977 { 1978 /* this branch should be active for ringflagb = 2..31 resp. 2..63; 1979 note that 2^31 resp 2^63 is the largest power of 2 that fits into 1980 an unsigned long */ 1976 if ((mpz_cmp_ui(R->ringflaga, 2) == 0) && (R->ringflagb <= 8*sizeof(NATNUMBER))) 1977 { 1978 /* this branch should be active for ringflagb = 2..32 resp. 2..64, 1979 depending on the size of a long on the respective platform */ 1981 1980 R->ringtype = 1; // Use Z/2^ch 1982 1981 } … … 4761 4760 { 4762 4761 ch = ringflagb; 4763 if ((mpz_cmp_ui(ringflaga, 2) == 0) && (ringflagb < 8*sizeof(NATNUMBER))) 4764 { 4765 /* this branch should be active for ringflagb = 2..31 resp. 2..63; 4766 note that 2^31 resp 2^63 is the largest power of 2 that fits into 4767 an unsigned long */ 4762 if ((mpz_cmp_ui(ringflaga, 2) == 0) && (ringflagb <= 8*sizeof(NATNUMBER))) 4763 { 4764 /* this branch should be active for ringflagb = 2..32 resp. 2..64, 4765 depending on the size of a long on the respective platform */ 4768 4766 ringtype = 1; // Use Z/2^ch 4769 4767 }
Note: See TracChangeset
for help on using the changeset viewer.