Changeset fccc2c in git
- Timestamp:
- Apr 19, 2007, 2:05:39 PM (16 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 1134b5b8cb28b554f8a08701cf30c20def285743
- Parents:
- 1d430ab97fb0bc40dcbac66c9e99a0f9c3344fec
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipid.cc
r1d430ab rfccc2c 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipid.cc,v 1.8 0 2007-04-18 16:15:58Singular Exp $ */4 /* $Id: ipid.cc,v 1.81 2007-04-19 12:05:39 Singular Exp $ */ 5 5 6 6 /* … … 59 59 60 60 #ifdef HAVE_IDI 61 int iiS2I(const char *s, int &less4) 62 { 63 less4=1; 61 int iiS2I(const char *s) 62 { 64 63 int i; 65 64 i=s[0]; … … 73 72 { 74 73 i=(i<<8)+s[3]; 75 less4=0;76 74 } 77 75 } … … 240 238 return found; 241 239 #else 242 int less4;243 int i=iiS2I(s,less4);240 int i=iiS2I(s); 241 int less4=(i < (1<<24)); 244 242 while (h!=NULL) 245 243 { … … 284 282 IDNEXT(h) = this; 285 283 #ifdef HAVE_IDI 286 int dummy; 287 h->id_i=iiS2I(s,dummy); 284 h->id_i=iiS2I(s); 288 285 #endif 289 286 if (init) -
Singular/mpsr_Get.h
r1d430ab rfccc2c 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: mpsr_Get.h,v 1.1 5 2007-04-18 16:15:59 Singular Exp $ */4 /* $Id: mpsr_Get.h,v 1.16 2007-04-19 12:05:39 Singular Exp $ */ 5 5 /*************************************************************** 6 6 * … … 112 112 IDDATA(h) = (char *) data; 113 113 #ifdef HAVE_IDI 114 extern int iiS2I(const char *s, int &less4); 115 int dummy; 116 h->id_i=iiS2I(name,dummy); 114 extern int iiS2I(const char *s); 115 h->id_i=iiS2I(name); 117 116 #endif 118 117 return h;
Note: See TracChangeset
for help on using the changeset viewer.