Changeset 76352f9 in git for Singular/polys.cc
- Timestamp:
- May 6, 1998, 2:44:08 PM (25 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
- Children:
- e23540a2e5ead2215d0294f458da29eb5d72e4fc
- Parents:
- 6f5ad67d98f21bbb43450bb71d0c20643b46ad9d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/polys.cc
r6f5ad6 r76352f9 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: polys.cc,v 1.2 5 1998-04-24 16:51:43 SingularExp $ */4 /* $Id: polys.cc,v 1.26 1998-05-06 12:44:08 pohl Exp $ */ 5 5 6 6 /* … … 1721 1721 1722 1722 /*2 1723 * returns TRUE if the head term of b is a multiple of the head term of a1724 */1725 #if defined(macintosh)1726 BOOLEAN pDivisibleBy(poly a, poly b)1727 {1728 if ((a!=NULL)&&(( pGetComp(a)==0) || ( pGetComp(a) == pGetComp(b))))1729 {1730 int i=pVariables;1731 Exponent_t *e1=&( pGetExp(a,1));1732 Exponent_t *e2=&( pGetExp(b,1));1733 if ((*e1) > (*e2)) return FALSE;1734 do1735 {1736 i--;1737 if (i == 0) return TRUE;1738 e1++;1739 e2++;1740 } while ((*e1) <= (*e2));1741 }1742 return FALSE;1743 }1744 #endif1745 1746 1747 /*21748 1723 * assumes that the head term of b is a multiple of the head term of a 1749 1724 * and return the multiplicant *m
Note: See TracChangeset
for help on using the changeset viewer.