Changeset aa4e28 in git for Singular/iparith.cc


Ignore:
Timestamp:
Apr 9, 2024, 4:45:14 PM (6 weeks ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
806aa6c0fd11dd028cc4613b3207981bf99cd82a
Parents:
b731111a31281d6447b4a56ab74d5c5ca6660db9
Message:
HAVE_RINGS is default (p1)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    rb731111 raa4e28  
    9595#endif /* HAVE_PLURAL */
    9696
    97 #ifdef HAVE_RINGS
    98   #define RING_MASK        4
    99   #define ZERODIVISOR_MASK 8
    100 #else
    101   #define RING_MASK        0
    102   #define ZERODIVISOR_MASK 0
    103 #endif
     97#define RING_MASK        4
     98#define ZERODIVISOR_MASK 8
    10499#define ALLOW_PLURAL     1
    105100#define NO_NC            0
     
    24122407static BOOLEAN jjHILBERT2(leftv res, leftv u, leftv v)
    24132408{
    2414 #ifdef HAVE_RINGS
    24152409  if (rField_is_Z(currRing))
    24162410  {
     
    24182412    PrintS("//       performed for generic fibre, that is, over Q\n");
    24192413  }
    2420 #endif
    24212414  assumeStdFlag(u);
    24222415  intvec *module_w=(intvec*)atGet(u,"isHomog",INTVEC_CMD);
     
    40514044{
    40524045  SPrintStart();
    4053 #ifdef HAVE_RINGS
    40544046  if (rField_is_Z(currRing))
    40554047  {
     
    40574049    PrintS("//       generic fibre, that is, over Q\n");
    40584050  }
    4059 #endif
    40604051  assumeStdFlag(v);
    40614052  intvec *module_w=(intvec*)atGet(v,"isHomog",INTVEC_CMD);
     
    41644155  if (rIsLPRing(currRing))
    41654156  {
    4166 #ifdef HAVE_RINGS
    41674157    if (rField_is_Ring(currRing))
    41684158    {
     
    41704160      return TRUE;
    41714161    }
    4172 #endif
    41734162    if (currRing->qideal != NULL)
    41744163    {
     
    43494338static BOOLEAN jjHILBERT(leftv, leftv v)
    43504339{
    4351 #ifdef HAVE_RINGS
    43524340  if (rField_is_Z(currRing))
    43534341  {
     
    43554343    PrintS("//       performed for generic fibre, that is, over Q\n");
    43564344  }
    4357 #endif
    43584345  assumeStdFlag(v);
    43594346  intvec *module_w=(intvec*)atGet(v,"isHomog",INTVEC_CMD);
     
    43644351static BOOLEAN jjHILBERT_IV(leftv res, leftv v)
    43654352{
    4366 #ifdef HAVE_RINGS
    43674353  if (rField_is_Z(currRing))
    43684354  {
     
    43704356    PrintS("//       performed for generic fibre, that is, over Q\n");
    43714357  }
    4372 #endif
    43734358  res->data=(void *)hSecondSeries((intvec *)v->Data());
    43744359  return FALSE;
     
    55175502  if (rIsLPRing(currRing))
    55185503  {
    5519 #ifdef HAVE_RINGS
    55205504    if (rField_is_Ring(currRing))
    55215505    {
     
    55235507      return TRUE;
    55245508    }
    5525 #endif
    55265509    if (currRing->qideal != NULL)
    55275510    {
     
    62386221    return TRUE;
    62396222  }
    6240 #ifdef HAVE_RINGS
    62416223  if (rField_is_Z(currRing))
    62426224  {
     
    62446226    PrintS("//       performed for generic fibre, that is, over Q\n");
    62456227  }
    6246 #endif
    62476228  assumeStdFlag(u);
    62486229  intvec *module_w=(intvec *)atGet(u,"isHomog",INTVEC_CMD);
     
    62666247static BOOLEAN jjHILBERT3Qt(leftv res, leftv u, leftv v, leftv w)
    62676248{
    6268 #ifdef HAVE_RINGS
    62696249  if (rField_is_Z(currRing))
    62706250  {
     
    62726252    PrintS("//       performed for generic fibre, that is, over Q\n");
    62736253  }
    6274 #endif
    62756254  assumeStdFlag(u);
    62766255  ring Qt =(ring)v->Data();
Note: See TracChangeset for help on using the changeset viewer.