Changeset 8e4601 in git for factory/cf_factor.cc


Ignore:
Timestamp:
Oct 19, 2012, 8:16:52 PM (11 years ago)
Author:
Adrian <adi_popescum@…>
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
Message:
64 bits for Spielwiese Last
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_factor.cc

    r3feb05 r8e4601  
    129129      if (CFFactory::gettype()==GaloisFieldDomain)
    130130      {
    131          int a= imm2int (f.getval());
     131         long a= imm2int (f.getval());
    132132         if ( a == gf_q )
    133            printf ("+%d", a);
    134          else  if ( a == 0 )
     133           printf ("+%ld", a);
     134         else  if ( a == 0L )
    135135           printf ("+1");
    136          else  if ( a == 1 )
     136         else  if ( a == 1L )
    137137           printf ("+%c",gf_name);
    138138         else
    139139         {
    140140           printf ("+%c",gf_name);
    141            printf ("^%d",a);
     141           printf ("^%ld",a);
    142142         }
    143143      }
Note: See TracChangeset for help on using the changeset viewer.