Changeset e38553 in git


Ignore:
Timestamp:
Jan 5, 2015, 5:33:46 PM (9 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
f935621a6bf45cf043ca5689b1ae4ad916ce6aca
Parents:
71e7cb88a8d50e24a3fe14ea10cfc63d1885daa0
Message:
Exported nlInit2gmp and nlInit2
Location:
libpolys/coeffs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/longrat.cc

    r71e7cb8 re38553  
    4343number nlRInit (long i);
    4444
    45 
    46 number   nlInit2 (int i, int j, const coeffs r);
    47 number   nlInit2gmp (mpz_t i, mpz_t j, const coeffs r);
    4845
    4946// number nlInitMPZ(mpz_t m, const coeffs r);
  • libpolys/coeffs/longrat.h

    r71e7cb8 re38553  
    102102void   nlDelete(number *a, const coeffs r);
    103103
     104
     105/// create a rational i/j (implicitly) over Q
     106/// NOTE: make sure to use correct Q in debug mode
     107number   nlInit2 (int i, int j, const coeffs r);
     108
     109/// create a rational i/j (implicitly) over Q
     110/// NOTE: make sure to use correct Q in debug mode
     111number   nlInit2gmp (mpz_t i, mpz_t j, const coeffs r);
     112
    104113// FIXME: TODO:  why only if HAVE_RINGS? bug?
    105114#  ifdef HAVE_RINGS
Note: See TracChangeset for help on using the changeset viewer.