Changeset 47faf56 in git for Singular/polys-impl.h
- Timestamp:
- Jan 12, 1998, 8:00:02 PM (26 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 567aff6dba275744806617fcbb3253b828a9b5d1
- Parents:
- 38cfbb50a8306b0a1da54ae6a6614ae8f4ecc643
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/polys-impl.h
r38cfbb r47faf56 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: polys-impl.h,v 1. 5 1998-01-05 16:39:25 SingularExp $ */6 /* $Id: polys-impl.h,v 1.6 1998-01-12 18:59:52 obachman Exp $ */ 7 7 8 8 /*************************************************************** … … 174 174 ((r)->VarOffset > (SIZEOF_LONG / SIZEOF_EXPONENT) - 1 ? \ 175 175 (r)->VarOffset - (i) : (r)->VarOffset + (i)) 176 #define _pExpIndex(i) \ 177 (pVarOffset > (SIZEOF_LONG / SIZEOF_EXPONENT) - 1 ? \ 178 pVarOffset - (i) : pVarOffset + (i)) 176 179 #endif 177 180 … … 825 828 826 829 #ifdef COMP_FAST 827 #define _pExpQuerSum(p) __pExpQuerSum2(p, pVarLowIndex, pVarHighIndex) 828 #define _pExpQuerSum1(p,to) __pExpQuerSum2(p, pVarLowIndex, pVarLowIndex+to-1) 829 #define _pExpQuerSum2(p,from, to) \ 830 __pQuerSum2(p, pVarLowIndex + from -1 ,pVarLowIndex + to -1) 831 #else 830 #define _pExpQuerSum(p) __pExpQuerSum2(p, pVarLowIndex, pVarHighIndex) 831 832 #define _pExpQuerSum1(p,to) \ 833 (_pHasReverseExp ? \ 834 __pExpQuerSum2(p, _pExpIndex(to), _pExpIndex(1)) : \ 835 __pExpQuerSum2(p, _pExpIndex(1), _pExpIndex(to))) 836 837 #define _pExpQuerSum2(p,from,to) \ 838 (_pHasReverseExp ? \ 839 __pExpQuerSum2(p, _pExpIndex(to), _pExpIndex(from)) : \ 840 __pExpQuerSum2(p, _pExpIndex(from), _pExpIndex(to))) 841 #else 842 832 843 #define _pExpQuerSum(p) __pExpQuerSum2(p, 1, pVariables) 833 844 #define _pExpQuerSum1(p, to) __pExpQuerSum2(p, 1, to) 834 845 #define _pExpQuerSum2(p, from, to) __pExpQuerSum2(p, from, to) 846 835 847 #endif 836 848
Note: See TracChangeset
for help on using the changeset viewer.