Changeset 44d898 in git for libpolys/coeffs/coeffs.h


Ignore:
Timestamp:
Jul 11, 2011, 3:24:21 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
353caa27f5b5e9e4dbd99e1c0b4fcce2bd59a5d4
Parents:
d12f1862ad7faa188219e4a17e9693667fb4be73
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-07-11 15:24:21+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:39:12+01:00
Message:
ADD: n_DivBy should be _always_ visible!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/coeffs.h

    rd12f186 r44d898  
    307307static inline number n_GetUnit(number n, const coeffs r)
    308308{ assume(r != NULL); assume(r->cfGetUnit!=NULL); return r->cfGetUnit(n,r); }
     309#endif
    309310
    310311static inline BOOLEAN n_DivBy(number a, number b, const coeffs r)
    311 { assume(r != NULL); assume(r->cfDivBy!=NULL); return r->cfDivBy(a,b,r); }
    312 #endif
     312{
     313  assume(r != NULL);
     314#ifdef HAVE_RINGS
     315  assume(r->cfDivBy!=NULL); return r->cfDivBy(a,b,r);
     316#endif
     317  return !n_IsZero(b, r);
     318}
     319
    313320
    314321/// init with an integer
     
    544551#define n_Test(a,r)  n_DBTest(a, __FILE__, __LINE__, r)
    545552
    546 // Missing wrappers for:
     553// Missing wrappers for: (TODO: review this?)
    547554// cfIntMod, cfRePart, cfImPart, cfRead, cfName, cfInit_bigint
    548 // HAVE_RINGS: cfDivComp, cfExtGcd... cfDivBy
     555// HAVE_RINGS: cfDivComp, cfExtGcd...
    549556
    550557
Note: See TracChangeset for help on using the changeset viewer.