Changeset 659036 in git
- Timestamp:
- Jul 15, 2010, 9:19:45 PM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- 0f35158095f640c6aeef13c0631e9b146fc2fd5b
- Parents:
- 81ececf82600f3e46a20998d8379da4cfd3c8b30
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
r81ececf r659036 1974 1974 { 1975 1975 R->ch = R->ringflagb; 1976 if ((mpz_cmp_ui(R->ringflaga, 2) == 0) && (R->ringflagb + 2 <= 8*sizeof(NATNUMBER))) 1977 { 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 */ 1978 1981 R->ringtype = 1; // Use Z/2^ch 1979 1982 } … … 4758 4761 { 4759 4762 ch = ringflagb; 4760 if ((mpz_cmp_ui(ringflaga, 2) == 0) && (ringflagb + 2 <= 8*sizeof(NATNUMBER))) 4761 { 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 4768 ringtype = 1; // Use Z/2^ch 4763 4769 }
Note: See TracChangeset
for help on using the changeset viewer.