Changeset 6993c83 in git for Singular/iparith.cc


Ignore:
Timestamp:
Aug 7, 2012, 11:01:05 AM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'c987db42cd2ec943b97ac5746c99892ceddf909c')
Children:
228e0b9cc53f11a9505d906eff83075191259c23
Parents:
d1d27f1048b2101fbf74ccb03fc688eb8d1f51a9
Message:
fix: mod -> %, removed INTMOD_CMD (from master)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    rd1d27f r6993c83  
    285285    case '/':
    286286    case INTDIV_CMD: (*aa) /= bb; break;
    287     case '%':
    288     case INTMOD_CMD: (*aa) %= bb; break;
     287    case '%': (*aa) %= bb; break;
    289288  }
    290289  res->data=(char *)aa;
     
    11251124  switch (iiOp)
    11261125  {
    1127     case INTMOD_CMD:
     1126    case '%':
    11281127        r=c;            break;
    1129     case '%':
    1130         r= (a % b);     break;
    11311128    case INTDIV_CMD:
    11321129        r=((a-c) /b);   break;
Note: See TracChangeset for help on using the changeset viewer.