Changeset 1990de8 in git


Ignore:
Timestamp:
May 5, 2010, 5:50:03 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
6cee1d28277f1e0a24471e5bd9ee112ed6b01113
Parents:
ac568634b7a2d8b8d88e28ffdb7d39c09ac42783
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2010-05-05 17:50:03+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:52:53+01:00
Message:
Cleaning out building hacks (_TRY)
Location:
coeffs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • coeffs/coeffs.h

    rac5686 r1990de8  
    4242typedef number (*nMapFunc)(number a, const coeffs src, const coeffs dst);
    4343
    44 // #define _TRY
    45 
    46 #ifdef _TRY
    47 typedef coeffs ring;
    48 
    49 extern ring currRing;
    50 #endif
    51 
    5244struct n_Procs_s
    5345{
    54 #ifdef _TRY
    55   ring cf; // this
    56 #endif
    57 
    5846   coeffs next;
    5947   unsigned int  ringtype;  /* 0 => coefficient field, 1 => coeffs from Z/2^m */
  • coeffs/numbers.h

    rac5686 r1990de8  
    125125{ return ((r->ringtype == 1) || (r->ringtype == 2) || (r->ringtype == 3)); }
    126126
    127 
    128 #ifdef _TRY
    129 #define rField_is_Q(r) nField_is_Q(r)
    130 #define rField_is_long_R(r) nField_is_long_R(r)
    131 #define rField_is_long_C(r) nField_is_long_C(r)
    132 #define rField_is_R(r) nField_is_R(r)
    133 #define rField_is_Zp(r) nField_is_Zp(r)
    134 #endif
    135 
    136 
    137127static inline BOOLEAN nField_is_Zp(const coeffs r)
    138128{ return getCoeffType(r)==n_Zp; }
Note: See TracChangeset for help on using the changeset viewer.