Changeset 8e4601 in git for factory/cf_factor.cc
- Timestamp:
- Oct 19, 2012, 8:16:52 PM (11 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- b79ed5b79606bbec4a3bc2f9ad41e76c5d40137e
- Parents:
- 3feb05488fc45f2659a728850a9c71ad9c0cb838
- git-author:
- Adrian <adi_popescum@yahoo.de>2012-10-19 20:16:52+02:00
- git-committer:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-10-22 11:18:07+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_factor.cc
r3feb05 r8e4601 129 129 if (CFFactory::gettype()==GaloisFieldDomain) 130 130 { 131 inta= imm2int (f.getval());131 long a= imm2int (f.getval()); 132 132 if ( a == gf_q ) 133 printf ("+% d", a);134 else if ( a == 0 )133 printf ("+%ld", a); 134 else if ( a == 0L ) 135 135 printf ("+1"); 136 else if ( a == 1 )136 else if ( a == 1L ) 137 137 printf ("+%c",gf_name); 138 138 else 139 139 { 140 140 printf ("+%c",gf_name); 141 printf ("^% d",a);141 printf ("^%ld",a); 142 142 } 143 143 }
Note: See TracChangeset
for help on using the changeset viewer.