Changeset 2667bc8 in git


Ignore:
Timestamp:
May 3, 2005, 11:35:34 AM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
Children:
c1ff21d1e591041b2b4caf753adaa803d9f4c342
Parents:
d87eb099bbb670866fe02db984e08d588bedb2b4
Message:
*hannes:


git-svn-id: file:///usr/local/Singular/svn/trunk@8012 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
factory
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_defs.h

    rd87eb0 r2667bc8  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: cf_defs.h,v 1.9 2003-02-11 16:28:50 Singular Exp $ */
     2/* $Id: cf_defs.h,v 1.10 2005-05-03 09:35:33 Singular Exp $ */
    33
    44#ifndef INCL_CF_DEFS_H
     
    3636const int SW_USE_SPARSEMOD = 7;
    3737const int SW_USE_NTL=8;
    38 const int SW_USE_NTL_GCD=9;
    39 const int SW_USE_NTL_SORT=10;
     38const int SW_USE_NTL_GCD_0=9;
     39const int SW_USE_NTL_GCD_P=10;
     40const int SW_USE_NTL_SORT=11;
    4041//}}}
    4142
  • factory/cf_gcd.cc

    rd87eb0 r2667bc8  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: cf_gcd.cc,v 1.29 2005-02-11 13:22:44 Singular Exp $ */
     2/* $Id: cf_gcd.cc,v 1.30 2005-05-03 09:35:34 Singular Exp $ */
    33
    44#include <config.h>
     
    147147{
    148148#ifdef HAVE_NTL
    149   if (isOn(SW_USE_NTL_GCD) && ( getCharacteristic() > 0 )
     149  if (isOn(SW_USE_NTL_GCD_P) && ( getCharacteristic() > 0 )
    150150  && isPurePoly(f) && isPurePoly(g))
    151151  {
     
    194194{
    195195#ifdef HAVE_NTL
    196   if (isOn(SW_USE_NTL_GCD) && isPurePoly(F) && isPurePoly(G))
     196  if (isOn(SW_USE_NTL_GCD_P) && isPurePoly(F) && isPurePoly(G))
    197197  {
    198198    if ( getCharacteristic() > 0 )
     
    343343    {
    344344#ifdef HAVE_NTL
    345       if (isOn(SW_USE_NTL_GCD) && isPurePoly(pi) && isPurePoly(pi1))
     345      if ((isOn(SW_USE_NTL_GCD_P)||isOn(SW_USE_NTL_GCD_0))
     346       && isPurePoly(pi) && isPurePoly(pi1))
    346347         return gcd_poly_univar0(f, g, true);
    347348#endif
  • factory/cf_switches.cc

    rd87eb0 r2667bc8  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: cf_switches.cc,v 1.6 2005-02-17 13:59:27 Singular Exp $ */
     2/* $Id: cf_switches.cc,v 1.7 2005-05-03 09:35:34 Singular Exp $ */
    33
    44//{{{ docu
     
    3030#ifdef HAVE_NTL
    3131  On(SW_USE_NTL);
    32   //Off(SW_USE_NTL_GCD);
     32  //Off(SW_USE_NTL_GCD_0);
     33  //Off(SW_USE_NTL_GCD_P);
    3334  //Off(SW_USE_NTL_SORT);
    3435#endif
  • factory/cf_switches.h

    rd87eb0 r2667bc8  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: cf_switches.h,v 1.8 2005-02-17 13:59:28 Singular Exp $ */
     2/* $Id: cf_switches.h,v 1.9 2005-05-03 09:35:34 Singular Exp $ */
    33
    44#ifndef INCL_CF_SWITCHES_H
     
    1919//
    2020//}}}
    21 const int CFSwitchesMax = 11;
     21const int CFSwitchesMax = 12;
    2222//}}}
    2323
  • factory/fac_ezgcd.cc

    rd87eb0 r2667bc8  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: fac_ezgcd.cc,v 1.18 2005-02-11 13:24:27 Singular Exp $ */
     2/* $Id: fac_ezgcd.cc,v 1.19 2005-05-03 09:35:34 Singular Exp $ */
    33
    44#include <config.h>
     
    222222#if 1
    223223    Off(SW_USE_EZGCD);
    224     //bool ntl=isOn(SW_USE_NTL_GCD);
    225     //Off(SW_USE_NTL_GCD);
     224    //bool ntl0=isOn(SW_USE_NTL_GCD_0);
     225    //Off(SW_USE_NTL_GCD_0);
     226    //bool ntlp=isOn(SW_USE_NTL_GCD_P);
     227    //Off(SW_USE_NTL_GCD_P);
    226228    d=gcd( F, G );
    227     //if (ntl) On(SW_USE_NTL_GCD);
     229    //if (ntl0) On(SW_USE_NTL_GCD_0);
     230    //if (ntlp) On(SW_USE_NTL_GCD_P);
    228231    On(SW_USE_EZGCD);
    229232    return d;
Note: See TracChangeset for help on using the changeset viewer.