- Timestamp:
- Feb 28, 2022, 5:12:54 PM (2 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- ecc9b0300bad1712cd9abf9a2927e0ac71d49bc5
- Parents:
- 61a2a09b57ab5f4e706a89e133e77b9b626f8b4a
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2022-02-28 17:12:54+01:00
- git-committer:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2022-02-28 17:13:31+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/rintegers2.cc
r61a2a09 r64ac80 21 21 mpz_mul(erg, (mpz_ptr) a, (mpz_ptr) b); 22 22 return (number) erg; 23 } 24 25 static void nrzInpMult (number &a, number b, const coeffs) 26 { 27 mpz_mul((mpz_ptr) a, (mpz_ptr) a, (mpz_ptr) b); 23 28 } 24 29 … … 160 165 mpz_add(erg, (mpz_ptr) a, (mpz_ptr) b); 161 166 return (number) erg; 167 } 168 169 static void nrzInpAdd (number &a, number b, const coeffs) 170 { 171 mpz_add((mpz_ptr) a, (mpz_ptr) a, (mpz_ptr) b); 162 172 } 163 173 … … 657 667 //r->cfKillChar = ndKillChar; 658 668 r->cfMult = nrzMult; 669 r->cfInpMult = nrzInpMult; 659 670 r->cfSub = nrzSub; 660 671 r->cfAdd = nrzAdd; 672 r->cfInpAdd = nrzInpAdd; 661 673 r->cfDiv = nrzDiv; 662 674 r->cfIntMod= nrzIntMod;
Note: See TracChangeset
for help on using the changeset viewer.