Changeset f52924 in git
- Timestamp:
- Feb 26, 2007, 12:43:07 PM (16 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 89e45baf4d2e90881d5361455ba0740b56975eb7
- Parents:
- 8120f8d31249d952812c48928a245fe445f5abd1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/longalg.cc
r8120f8 rf52924 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: longalg.cc,v 1.2 4 2007-02-22 14:52:40Singular Exp $ */4 /* $Id: longalg.cc,v 1.25 2007-02-26 11:43:07 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: algebraic numbers … … 66 66 static int napExpi(int i, napoly a, napoly b); 67 67 static ring nacRing; 68 #define NA_NORMALIZE_CNT 368 #define NA_NORMALIZE_CNT 5 69 69 static inline void naNormalize0(number &pp) 70 70 { … … 73 73 { 74 74 p->cnt++; 75 if (p->cnt>NA_NORMALIZE_CNT) naNormalize(pp); 75 if ((p->cnt>NA_NORMALIZE_CNT) 76 //|| (currRing->minpoly!=NULL) 77 //|| ((p->n!=NULL) && (p->cnt>1)) 78 ) 79 naNormalize(pp); 76 80 } 77 81 } … … 1278 1282 lo->s = 0; 1279 1283 number luu=(number)lo; 1280 naNormalize 0(luu);1284 naNormalize(luu); 1281 1285 lo=(lnumber)luu; 1282 1286 }
Note: See TracChangeset
for help on using the changeset viewer.