Changeset aa4e28 in git for Singular/iparith.cc
- Timestamp:
- Apr 9, 2024, 4:45:14 PM (6 weeks ago)
- Branches:
- (u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- 806aa6c0fd11dd028cc4613b3207981bf99cd82a
- Parents:
- b731111a31281d6447b4a56ab74d5c5ca6660db9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
rb731111 raa4e28 95 95 #endif /* HAVE_PLURAL */ 96 96 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 104 99 #define ALLOW_PLURAL 1 105 100 #define NO_NC 0 … … 2412 2407 static BOOLEAN jjHILBERT2(leftv res, leftv u, leftv v) 2413 2408 { 2414 #ifdef HAVE_RINGS2415 2409 if (rField_is_Z(currRing)) 2416 2410 { … … 2418 2412 PrintS("// performed for generic fibre, that is, over Q\n"); 2419 2413 } 2420 #endif2421 2414 assumeStdFlag(u); 2422 2415 intvec *module_w=(intvec*)atGet(u,"isHomog",INTVEC_CMD); … … 4051 4044 { 4052 4045 SPrintStart(); 4053 #ifdef HAVE_RINGS4054 4046 if (rField_is_Z(currRing)) 4055 4047 { … … 4057 4049 PrintS("// generic fibre, that is, over Q\n"); 4058 4050 } 4059 #endif4060 4051 assumeStdFlag(v); 4061 4052 intvec *module_w=(intvec*)atGet(v,"isHomog",INTVEC_CMD); … … 4164 4155 if (rIsLPRing(currRing)) 4165 4156 { 4166 #ifdef HAVE_RINGS4167 4157 if (rField_is_Ring(currRing)) 4168 4158 { … … 4170 4160 return TRUE; 4171 4161 } 4172 #endif4173 4162 if (currRing->qideal != NULL) 4174 4163 { … … 4349 4338 static BOOLEAN jjHILBERT(leftv, leftv v) 4350 4339 { 4351 #ifdef HAVE_RINGS4352 4340 if (rField_is_Z(currRing)) 4353 4341 { … … 4355 4343 PrintS("// performed for generic fibre, that is, over Q\n"); 4356 4344 } 4357 #endif4358 4345 assumeStdFlag(v); 4359 4346 intvec *module_w=(intvec*)atGet(v,"isHomog",INTVEC_CMD); … … 4364 4351 static BOOLEAN jjHILBERT_IV(leftv res, leftv v) 4365 4352 { 4366 #ifdef HAVE_RINGS4367 4353 if (rField_is_Z(currRing)) 4368 4354 { … … 4370 4356 PrintS("// performed for generic fibre, that is, over Q\n"); 4371 4357 } 4372 #endif4373 4358 res->data=(void *)hSecondSeries((intvec *)v->Data()); 4374 4359 return FALSE; … … 5517 5502 if (rIsLPRing(currRing)) 5518 5503 { 5519 #ifdef HAVE_RINGS5520 5504 if (rField_is_Ring(currRing)) 5521 5505 { … … 5523 5507 return TRUE; 5524 5508 } 5525 #endif5526 5509 if (currRing->qideal != NULL) 5527 5510 { … … 6238 6221 return TRUE; 6239 6222 } 6240 #ifdef HAVE_RINGS6241 6223 if (rField_is_Z(currRing)) 6242 6224 { … … 6244 6226 PrintS("// performed for generic fibre, that is, over Q\n"); 6245 6227 } 6246 #endif6247 6228 assumeStdFlag(u); 6248 6229 intvec *module_w=(intvec *)atGet(u,"isHomog",INTVEC_CMD); … … 6266 6247 static BOOLEAN jjHILBERT3Qt(leftv res, leftv u, leftv v, leftv w) 6267 6248 { 6268 #ifdef HAVE_RINGS6269 6249 if (rField_is_Z(currRing)) 6270 6250 { … … 6272 6252 PrintS("// performed for generic fibre, that is, over Q\n"); 6273 6253 } 6274 #endif6275 6254 assumeStdFlag(u); 6276 6255 ring Qt =(ring)v->Data();
Note: See TracChangeset
for help on using the changeset viewer.