Changeset 9b1bb5c in git
- Timestamp:
- Aug 15, 2018, 3:33:58 PM (5 years ago)
- Branches:
- (u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
- Children:
- 77b7a1075c63d0b12c707b6a719240d2b2fdf345
- Parents:
- 0334da7d689c072c3ddd2bbfd0e14565f43da2d6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/transext.cc
r0334da r9b1bb5c 61 61 #define ADD_COMPLEXITY 1 /**< complexity increase due to + and - */ 62 62 #define MULT_COMPLEXITY 2 /**< complexity increase due to * and / */ 63 #define DIFF_COMPLEXITY 2 /**< complexity increase due to * and /*/63 #define DIFF_COMPLEXITY 2 /**< complexity increase due to diff */ 64 64 #define BOUND_COMPLEXITY 10 /**< maximum complexity of a number */ 65 65 … … 1063 1063 if(da == NULL) 1064 1064 { // both fa && fb are ?? // NULL! 1065 assume (da == NULL && db == NULL);1066 1065 DEN(result) = NULL; 1067 1066 COM(result) = 0; 1067 p_Normalize(g,ntRing); 1068 1068 } 1069 1069 else 1070 1070 { 1071 assume (da != NULL && db == NULL);1072 1071 DEN(result) = p_Copy(da, ntRing); 1073 1072 COM(result) = COM(fa) + MULT_COMPLEXITY; … … 1080 1079 if (da == NULL) 1081 1080 { // a == ? // NULL 1082 assume( db != NULL && da == NULL);1083 1081 DEN(result) = p_Copy(db, ntRing); 1084 1082 COM(result) = COM(fb) + MULT_COMPLEXITY; … … 1088 1086 else /* both den's are != 1 */ 1089 1087 { 1090 assume (da != NULL && db != NULL);1091 1088 DEN(result) = pp_Mult_qq(da, db, ntRing); 1092 1089 COM(result) = COM(fa) + COM(fb) + MULT_COMPLEXITY;
Note: See TracChangeset
for help on using the changeset viewer.