Changeset 883ea0b in git


Ignore:
Timestamp:
Jun 25, 2010, 4:33:08 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '648d28f488f6ff08f5607ff229b9ad9e4a5b93c2')
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.