Changeset 6f9aca in git
 Timestamp:
 Apr 3, 2018, 4:19:37 PM (5 years ago)
 Branches:
 (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
 Children:
 3f6a92be691e6acb53f744e17d66ee5d635802fd
 Parents:
 f67afed8d454f54035cff586aa3cf35a06a7280e
 gitauthor:
 Hans Schoenemann <hannes@mathematik.unikl.de>20180403 16:19:37+02:00
 gitcommitter:
 Hans Schoenemann <hannes@mathematik.unikl.de>20180403 16:20:24+02:00
 Location:
 libpolys
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

libpolys/coeffs/modulop.cc
rf67afe r6f9aca 97 97 } 98 98 99 void npInpMult (number &a,number b, const coeffs r) 100 { 101 n_Test(a, r); 102 n_Test(b, r); 103 104 if (((long)a == 0)  ((long)b == 0)) 105 a=(number)0; 106 a = npMultM(a,b, r); 107 n_Test(a, r); 108 } 109 99 110 /*2 100 111 * create a number from int … … 472 483 473 484 r>cfMult = npMult; 474 r>cfInpMult = npInpMult M;485 r>cfInpMult = npInpMult; 475 486 r>cfSub = npSubM; 476 487 r>cfAdd = npAddM; … … 518 529 #endif 519 530 520 #ifdef NV_OPS521 if (c>NV_MAX_PRIME)522 {523 r>cfMult = nvMult;524 r>cfDiv = nvDiv;525 r>cfExactDiv= nvDiv;526 r>cfInvers= nvInvers;527 //r>cfPower= nvPower;528 if (c>FACTORY_MAX_PRIME)529 {530 r>convSingNFactoryN=ndConvSingNFactoryN;531 }532 }533 #endif534 535 531 // io via ssi 536 532 r>cfWriteFd=npWriteFd; 
libpolys/polys/templates/p_Numbers.h
rf67afe r6f9aca 55 55 #define n_Neg_RingGeneral(n, r) n_Neg_FieldGeneral(n, r) 56 56 #define n_Sub_RingGeneral(n1, n2, r) n_Sub_FieldGeneral(n1, n2, r) 57 //#define n_InpMult_RingGeneral(n1, n2, r) n_InpMult_FieldGeneral(n1, n2, r)58 57 #define n_InpMult_RingGeneral(n1, n2, r) n_InpMult_FieldGeneral(n1, n2, r) 59 58 … … 104 103 105 104 static FORCE_INLINE void n_InpMult_FieldZp(number &n1, number n2, const coeffs r) 106 { STATISTIC(n_InpMult); n 1=npMultM(n1, n2, r); }105 { STATISTIC(n_InpMult); npInpMultM(n1, n2, r); } 107 106 108 107 #ifdef HAVE_NUMSTATS
Note: See TracChangeset
for help on using the changeset viewer.