Changeset b14855 in git for Singular/iparith.cc
- Timestamp:
- Mar 11, 2011, 1:38:28 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 6f83ae275d45dbae3bcb20755554e9f50fe75f22
- Parents:
- 240d6e0f71a7c78b7ad7e858be185c519c48c85f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r240d6e rb14855 3237 3237 WerrorS("negative timeout"); return TRUE; 3238 3238 } 3239 int t = 1000*getRTimer()/TIMER_RESOLUTION;3239 int t = getRTimer()/TIMER_RESOLUTION; // in seconds 3240 3240 int i; 3241 3241 int ret = -1; … … 3249 3249 Lforks->m[i-1].rtyp=DEF_CMD; 3250 3250 Lforks->m[i-1].data=NULL; 3251 timeout = si_max(0,timeout - 1000* getRTimer()/TIMER_RESOLUTION + t);3251 timeout = si_max(0,timeout - 1000*(getRTimer()/TIMER_RESOLUTION - t)); 3252 3252 } 3253 3253 else /* terminate the for loop */
Note: See TracChangeset
for help on using the changeset viewer.