Changeset 8df232 in git for libpolys/coeffs


Ignore:
Timestamp:
Mar 8, 2012, 5:56:26 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
39af6042c4c6b21927ba2020c0be224cb1793e7e
Parents:
160f4391a1dc3f89b1f225c2606aac3aafbbb2ab
Message:
fix: init of real and complex numbers from bigints
Location:
libpolys/coeffs
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/gnumpc.cc

    r160f439 r8df232  
    432432  n->cfSetChar=ngcSetChar;
    433433
    434 //  r->cfInit_bigint=ngcInit_bigint;
     434  n->cfInit_bigint=ngcMapQ;
    435435
    436436/*
  • libpolys/coeffs/gnumpc.h

    r160f439 r8df232  
    5252
    5353
    54 // Why is this here? who needs it?
    55 // number ngcMapQ(number from, const coeffs r, const coeffs aRing);
     54number ngcMapQ(number from, const coeffs r, const coeffs aRing);
    5655#endif
    5756/* GMPCOMPLEX_H */
  • libpolys/coeffs/gnumpfl.cc

    r160f439 r8df232  
    433433  n->cfSetMap = ngfSetMap;
    434434  n->cfCoeffWrite = ngfCoeffWrite;
     435  n->cfInit_bigint = ngfMapQ;
    435436#ifdef LDEBUG
    436437  n->cfDBTest  = ndDBTest; // not yet implemented: ngfDBTest
  • libpolys/coeffs/gnumpfl.h

    r160f439 r8df232  
    4242void     ngfDelete(number *a, const coeffs r);
    4343
    44 number ngfMapQ(number from, const coeffs r);
     44number ngfMapQ(number from, const coeffs src, const coeffs r);
    4545
    4646#endif
Note: See TracChangeset for help on using the changeset viewer.