Changeset 5f4c293 in git for libpolys/polys
- Timestamp:
- Apr 1, 2022, 5:13:29 PM (2 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- fa4adb584cf68f36b9e7a48ffc363b8a42f166f8
- Parents:
- babd99328968737f13c55314bddeae0f6da6895f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/p_polys.h
rbabd99 r5f4c293 1669 1669 static inline int p_LtCmpOrdSgnDiffM(poly p, poly q, const ring r) 1670 1670 { 1671 if(r->OrdSgn == 1) 1672 { 1673 return(p_LtCmp(p,q,r) == 1); 1674 } 1675 else 1676 { 1677 return(p_LmCmp(p,q,r) == -1); 1678 } 1671 return(p_LtCmp(p,q,r) == r->OrdSgn); 1679 1672 } 1680 1673 #endif … … 1685 1678 static inline int p_LtCmpOrdSgnDiffP(poly p, poly q, const ring r) 1686 1679 { 1687 if(r->OrdSgn == 1) 1688 { 1689 return(p_LmCmp(p,q,r) == -1); 1690 } 1691 else 1692 { 1693 return(p_LtCmp(p,q,r) != -1); 1694 } 1695 1680 return(p_LmCmp(p,q,r) == -r->OrdSgn); 1696 1681 } 1697 1682 #endif
Note: See TracChangeset
for help on using the changeset viewer.