Changeset 09da99 in git for ntl/src/lzz_pXFactoring.c


Ignore:
Timestamp:
Nov 3, 2003, 6:33:49 PM (20 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
70fea801cbe08a22d1b0e9d8d1d410144e0e91f6
Parents:
be2bb37dcbd03b120f14559d378b21b104d907c4
Message:
*hannes: NTL- 5.3.1


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

Legend:

Unmodified
Added
Removed
  • ntl/src/lzz_pXFactoring.c

    rbe2bb3 r09da99  
    391391
    392392
    393 
    394393   if (r == 1) {
    395394      factors.SetLength(1);
     
    397396      return;
    398397   }
    399 
    400398
    401399   vec_zz_p roots;
     
    435433   }
    436434
    437 
    438435}
    439436
     
    807804
    808805   
    809    double t;
    810 
    811806   factors.SetLength(0);
    812807
     
    820815   if (!IsOne(LeadCoeff(f)) || deg(f) == 0)
    821816      Error("SFCanZass1: bad args");
    822 
    823    double t;
    824817
    825818   long p = zz_p::modulus();
     
    14381431      Error("BuildIrred: n must be positive");
    14391432
    1440    if (n >= (1L << (NTL_BITS_PER_LONG-4))) Error("overflow in BuildIrred");
     1433   if (NTL_OVERFLOW(n, 1, 0)) Error("overflow in BuildIrred");
    14411434
    14421435   if (n == 1) {
     
    14831476                       long verbose)
    14841477{
    1485    double t;
    1486 
    14871478   zz_pXModulus F;
    14881479   build(F, f);
     
    16571648
    16581649{
    1659    double t;
    1660 
    16611650   u.SetLength(0);
    16621651
     
    17871776
    17881777{
    1789    double t;
    1790 
    17911778   factors.SetLength(0);
    17921779
     
    18061793      }
    18071794   }
    1808 
    18091795}
    18101796
Note: See TracChangeset for help on using the changeset viewer.