Ignore:
Timestamp:
Jun 29, 2011, 5:54:28 PM (13 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
df43d9eede47de2604d4c0ff334af81427c1ec57
Parents:
de90c019d739dd11bb7004ab4f6d1147833c69bc
git-author:
Frank Seelisch <seelisch@mathematik.uni-kl.de>2011-06-29 17:54:28+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:39:10+01:00
Message:
more tests for transcendental case
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/ext_fields/transext.h

    rde90c01 r010f3b  
    6363#define den(f) f->denominator
    6464#define denIs1(f) (f->denominator == NULL) /**< TRUE iff den. represents 1 */
     65#define numIs1(f) (p_IsConstant(f->numerator, cf->extRing) && \
     66                   n_IsOne(p_GetCoeff(num(f), cf->extRing), cf->extRing->cf))
     67                   /**< TRUE iff num. represents 1 */
    6568#define c(f) f->complexity
    6669
Note: See TracChangeset for help on using the changeset viewer.