Changeset d8e89b in git
- Timestamp:
- Mar 26, 2019, 2:16:42 PM (4 years ago)
- Branches:
- (u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
- Children:
- a0351f4ddb55f888234786beb265c2d73504e810
- Parents:
- 66824999f4f8f37eea466e691f6dd16bac89a057
- Location:
- libpolys/coeffs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/gnumpc.cc
r668249 rd8e89b 520 520 } 521 521 522 static number ngcInitMPZ(mpz_t m, const coeffs) 523 { 524 gmp_float mm(m); 525 gmp_complex* res = new gmp_complex(mm); 526 return (number)res; 527 } 528 529 522 530 static nMapFunc ngcSetMap(const coeffs src, const coeffs dst) 523 531 { … … 565 573 n->cfDelete = ngcDelete; 566 574 //n->cfNormalize=ndNormalize; 567 n->cfInit = ngcInit; 568 n->cfInt = ngcInt; 575 n->cfInit = ngcInit; 576 n->cfInitMPZ = ngcInitMPZ; 577 n->cfInt = ngcInt; 569 578 n->cfAdd = ngcAdd; 570 579 n->cfSub = ngcSub; -
libpolys/coeffs/gnumpfl.cc
r668249 rd8e89b 469 469 } 470 470 471 static number ngfInitMPZ(mpz_t m, const coeffs) 472 { 473 gmp_float *res=new gmp_float(m); 474 return (number)res; 475 } 476 471 477 static nMapFunc ngfSetMap(const coeffs src, const coeffs dst) 472 478 { … … 522 528 n->cfDelete = ngfDelete; 523 529 //n->cfNormalize=ndNormalize; 524 n->cfInit = ngfInit; 525 n->cfInt = ngfInt; 530 n->cfInit = ngfInit; 531 n->cfInitMPZ = ngfInitMPZ; 532 n->cfInt = ngfInt; 526 533 n->cfAdd = ngfAdd; 527 534 n->cfSub = ngfSub;
Note: See TracChangeset
for help on using the changeset viewer.