Changeset 0f45cb1 in git
- Timestamp:
- Jul 21, 2008, 11:12:34 AM (16 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- c691df8cf70a169267ef0c05ea9bd356948e6e8b
- Parents:
- 03cecc2b537db454c80c1ad5ea3912ab2f28a2e4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ncSAMult.cc
r03cecc2 r0f45cb1 7 7 * Author: motsak 8 8 * Created: 9 * Version: $Id: ncSAMult.cc,v 1. 5 2008-07-21 00:05:09motsak Exp $9 * Version: $Id: ncSAMult.cc,v 1.6 2008-07-21 09:12:34 motsak Exp $ 10 10 *******************************************************************/ 11 11 … … 526 526 527 527 const ring r = GetBasering(); 528 const int sign = 1 - 2 *((expLeft * expRight) % 2);528 const int sign = 1 - 2 * (expLeft & (expRight & 1)); 529 529 poly p = p_ISet(sign, r); 530 530 p_SetExp(p, GetJ(), expLeft, r);
Note: See TracChangeset
for help on using the changeset viewer.