Changeset 6993c83 in git for Singular/iparith.cc
- Timestamp:
- Aug 7, 2012, 11:01:05 AM (12 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 228e0b9cc53f11a9505d906eff83075191259c23
- Parents:
- d1d27f1048b2101fbf74ccb03fc688eb8d1f51a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
rd1d27f1 r6993c83 285 285 case '/': 286 286 case INTDIV_CMD: (*aa) /= bb; break; 287 case '%': 288 case INTMOD_CMD: (*aa) %= bb; break; 287 case '%': (*aa) %= bb; break; 289 288 } 290 289 res->data=(char *)aa; … … 1125 1124 switch (iiOp) 1126 1125 { 1127 case INTMOD_CMD:1126 case '%': 1128 1127 r=c; break; 1129 case '%':1130 r= (a % b); break;1131 1128 case INTDIV_CMD: 1132 1129 r=((a-c) /b); break;
Note: See TracChangeset
for help on using the changeset viewer.