Changeset b19ab84 in git for libpolys/coeffs/numbers.cc
 Timestamp:
 May 10, 2011, 7:05:58 PM (12 years ago)
 Branches:
 (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
 Children:
 05aa4ba5a9c62c92398b1cd7067b8977ec993bb3
 Parents:
 bea370bfafc6b719f65e3d21472ecc023533e962
 gitauthor:
 Hans Schoenemann <hannes@mathematik.unikl.de>20110510 19:05:58+02:00
 gitcommitter:
 Mohamed Barakat <mohamed.barakat@rwthaachen.de>20111109 12:34:45+01:00
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

libpolys/coeffs/numbers.cc
rbea370 rb19ab84 110 110 return a; 111 111 } 112 void ndKillChar(coeffs) {} 112 113 113 114 number nd_Copy(number a, const coeffs r) { return n_Copy(a, r); } … … 170 171 n>cfGcd = ndGcd; 171 172 n>cfLcm = ndGcd; /* tricky, isn't it ?*/ 173 //n>cfKillChar = ndKillChar; /* dummy */ 174 // temp. removed to catch all the coeffs which miss to implement this! 172 175 173 176 #ifdef HAVE_RINGS … … 201 204 202 205 #ifdef HAVE_RINGS 203 if (n>cfGetUnit==NULL) n>cfGetUnit=n>cfCopy;206 if (n>cfGetUnit==NULL) n>cfGetUnit=n>cfCopy; 204 207 #endif 205 208 206 209 #ifndef NDEBUG 207 assume(n>nCoeffIsEqual!=NULL);208 if(n>cfKillChar==NULL) Warn("cfKillChar is NULL for coeff %d",t);209 if(n>cfSetChar!=NULL) Warn("cfSetChar is NOT NULL for coeff %d",t);210 assume(n>cfMult!=NULL);211 assume(n>cfSub!=NULL);212 assume(n>cfAdd!=NULL);213 assume(n>cfDiv!=NULL);214 assume(n>cfIntDiv!=NULL);215 assume(n>cfIntMod!=NULL);216 assume(n>cfExactDiv!=NULL);217 assume(n>cfInit!=NULL);218 assume(n>cfPar!=NULL);219 assume(n>cfParDeg!=NULL);220 assume(n>cfSize!=NULL);221 assume(n>cfInt!=NULL);222 //assume(n>n>cfDivComp!=NULL);223 //assume(n>cfIsUnit!=NULL);224 //assume(n>cfGetUnit!=NULL);225 //assume(n>cfExtGcd!=NULL);226 assume(n>cfNeg!=NULL);227 assume(n>cfCopy!=NULL);228 assume(n>cfRePart!=NULL);229 assume(n>cfImPart!=NULL);230 assume(n>cfWrite!=NULL);231 assume(n>cfRead!=NULL);232 assume(n>cfNormalize!=NULL);233 assume(n>cfGreater!=NULL);234 //assume(n>cfDivBy!=NULL);235 assume(n>cfEqual!=NULL);236 assume(n>cfIsZero!=NULL);237 assume(n>cfIsOne!=NULL);238 assume(n>cfIsMOne!=NULL);239 assume(n>cfGreaterZero!=NULL);240 assume(n>cfPower!=NULL);241 assume(n>cfGetDenom!=NULL);242 assume(n>cfGetNumerator!=NULL);243 assume(n>cfGcd!=NULL);244 assume(n>cfLcm!=NULL);245 assume(n>cfDelete!=NULL);246 assume(n>cfSetMap!=NULL);247 assume(n>cfName!=NULL);248 assume(n>cfInpMult!=NULL);249 assume(n>cfInit_bigint!=NULL);250 assume(n>cfCoeffWrite != NULL);210 assume(n>nCoeffIsEqual!=NULL); 211 if(n>cfKillChar==NULL) Warn("cfKillChar is NULL for coeff %d",t); 212 if(n>cfSetChar!=NULL) Warn("cfSetChar is NOT NULL for coeff %d",t); 213 assume(n>cfMult!=NULL); 214 assume(n>cfSub!=NULL); 215 assume(n>cfAdd!=NULL); 216 assume(n>cfDiv!=NULL); 217 assume(n>cfIntDiv!=NULL); 218 assume(n>cfIntMod!=NULL); 219 assume(n>cfExactDiv!=NULL); 220 assume(n>cfInit!=NULL); 221 assume(n>cfPar!=NULL); 222 assume(n>cfParDeg!=NULL); 223 assume(n>cfSize!=NULL); 224 assume(n>cfInt!=NULL); 225 //assume(n>n>cfDivComp!=NULL); 226 //assume(n>cfIsUnit!=NULL); 227 //assume(n>cfGetUnit!=NULL); 228 //assume(n>cfExtGcd!=NULL); 229 assume(n>cfNeg!=NULL); 230 assume(n>cfCopy!=NULL); 231 assume(n>cfRePart!=NULL); 232 assume(n>cfImPart!=NULL); 233 assume(n>cfWrite!=NULL); 234 assume(n>cfRead!=NULL); 235 assume(n>cfNormalize!=NULL); 236 assume(n>cfGreater!=NULL); 237 //assume(n>cfDivBy!=NULL); 238 assume(n>cfEqual!=NULL); 239 assume(n>cfIsZero!=NULL); 240 assume(n>cfIsOne!=NULL); 241 assume(n>cfIsMOne!=NULL); 242 assume(n>cfGreaterZero!=NULL); 243 assume(n>cfPower!=NULL); 244 assume(n>cfGetDenom!=NULL); 245 assume(n>cfGetNumerator!=NULL); 246 assume(n>cfGcd!=NULL); 247 assume(n>cfLcm!=NULL); 248 assume(n>cfDelete!=NULL); 249 assume(n>cfSetMap!=NULL); 250 assume(n>cfName!=NULL); 251 assume(n>cfInpMult!=NULL); 252 assume(n>cfInit_bigint!=NULL); 253 assume(n>cfCoeffWrite != NULL); 251 254 #ifdef LDEBUG 252 assume(n>cfDBTest!=NULL);253 #endif 254 assume(n>type==t);255 assume(n>cfDBTest!=NULL); 256 #endif 257 assume(n>type==t); 255 258 #endif 256 259 }
Note: See TracChangeset
for help on using the changeset viewer.