- Timestamp:
- Apr 27, 1998, 12:19:04 PM (26 years ago)
- Branches:
- (u'spielwiese', '2fa36c576e6a4ddbb1093b43c7f8e9835e17e52a')
- Children:
- 2e7c66199551d62cc2ce30673c92dccfa59cc814
- Parents:
- d751cfce70a8a2899f4913a228f1455242106ae1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/hutil.cc
rd751cf r81422c 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: hutil.cc,v 1. 6 1998-04-07 17:51:02 SingularExp $ */4 /* $Id: hutil.cc,v 1.7 1998-04-27 10:19:04 pohl Exp $ */ 5 5 /* 6 6 * ABSTRACT: Utilities for staircase operations … … 993 993 } 994 994 995 995 /* 996 * a bug in Metrowerks with "lifetime analysis" 997 *scmon hGetpure(scmon p) 998 *{ 999 * scmon p1, pn; 1000 * p1 = p + 1; 1001 * pn = p1 + pVariables; 1002 * memcpy(pn, p1, pVariables * sizeof(Exponent_t)); 1003 * return pn - 1; 1004 *} 1005 */ 996 1006 scmon hGetpure(scmon p) 997 1007 { 998 scmon p1, pn; 999 p1 = p + 1; 1000 pn = p1 + pVariables; 1008 scmon p1 = p; 1009 scmon pn; 1010 p1++; 1011 pn = p1; 1012 pn += pVariables; 1001 1013 memcpy(pn, p1, pVariables * sizeof(Exponent_t)); 1002 1014 return pn - 1; 1003 1015 } 1004 1016 1005
Note: See TracChangeset
for help on using the changeset viewer.