Changeset 883ea0b in git


Ignore:
Timestamp:
Jun 25, 2010, 4:33:08 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
8870729ee18e8dd1840de7c1b4c2714167248b11
Parents:
cedebce21b0dc12678683874874cce5b35d8c23d
Message:
ceil log -> ilog2

git-svn-id: file:///usr/local/Singular/svn/trunk@12926 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqFactorize.cc

    rcedebc r883ea0b  
    505505
    506506  int factorNums= 5;
    507   if (factorNums < (int) ceil (log (totaldegree (A))))
    508     factorNums= (int) ceil (log (totaldegree (A)));
     507  if (factorNums < (int) ilog2 (totaldegree (A)))
     508    factorNums= (int) ilog2 (totaldegree (A));
    509509  for (int i= 0; i < factorNums; i++)
    510510  {
     
    17741774  CanonicalForm evalPoly;
    17751775  int lift, bufLift;
    1776   if (factorNums < (int) ceil (log (totaldegree (A))))
    1777     factorNums= (int) ceil (log (totaldegree (A)));
     1776  if (factorNums < (int) ilog2 (totaldegree (A)))
     1777    factorNums= (int) ilog2 (totaldegree (A));
    17781778  // several bivariate factorizations
    17791779  for (int i= 0; i < factorNums; i++)
Note: See TracChangeset for help on using the changeset viewer.