Changeset a44806 in git
- Timestamp:
- Jul 30, 2013, 5:57:59 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 70cc24be4069e6e8582f4cd0ed1d5daefc6408c3
- Parents:
- 5179a06789400d6b00d11f07b45be960d7c06e4c
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/bigintm.cc
r5179a0 ra44806 12 12 #include <omalloc/omalloc.h> 13 13 #include <kernel/febase.h> 14 #include < kernel/longrat.h>14 #include <libpolys/coeffs//longrat.h> 15 15 #include <Singular/subexpr.h> 16 16 #include <Singular/bigintm.h> -
Singular/extra.cc
r5179a0 ra44806 783 783 r--; 784 784 res->rtyp = INT_CMD; 785 res->data = (void*) r;785 res->data = (void*)(long)r; 786 786 return FALSE; 787 787 } … … 948 948 { 949 949 ll->Init(3); 950 ll->m[0].rtyp=INT_CMD; ll->m[0].data=(void *) solvable;950 ll->m[0].rtyp=INT_CMD; ll->m[0].data=(void *)(long)solvable; 951 951 ll->m[1].rtyp=MATRIX_CMD; ll->m[1].data=(void *)xVec; 952 952 ll->m[2].rtyp=MATRIX_CMD; ll->m[2].data=(void *)homogSolSpace; … … 955 955 { 956 956 ll->Init(1); 957 ll->m[0].rtyp=INT_CMD; ll->m[0].data=(void *) solvable;957 ll->m[0].rtyp=INT_CMD; ll->m[0].data=(void *)(long)solvable; 958 958 } 959 959 res->rtyp = LIST_CMD; … … 971 971 int n = slStatusSsiL(L, timeMillisec * 1000); 972 972 res->rtyp = INT_CMD; 973 res->data = (void*) n;973 res->data = (void*)(long)n; 974 974 return FALSE; 975 975 } … … 1252 1252 1253 1253 if ((h!=NULL) && (h->Typ()==INT_CMD)) 1254 res->data=(void *) setNCExtensions( (int)((long)(h->Data())) );1254 res->data=(void *)(long)setNCExtensions( (int)((long)(h->Data())) ); 1255 1255 else 1256 res->data=(void *) getNCExtensions();1256 res->data=(void *)(long)getNCExtensions(); 1257 1257 1258 1258 res->rtyp=INT_CMD; … … 1266 1266 1267 1267 if( rIsPluralRing(currRing) ) 1268 res->data=(void *) ncRingType(currRing);1268 res->data=(void *)(long)ncRingType(currRing); 1269 1269 else 1270 res->data=(void *)(-1 );1270 res->data=(void *)(-1L); 1271 1271 1272 1272 return FALSE; … … 1443 1443 ((intvec*) h->next->Data()), 1444 1444 (ideal) h->next->next->Data()); 1445 if (res->data == (void*) 0 || res->data == (void*) 1)1445 if (res->data == NULL || res->data == (void*) 1L) 1446 1446 { 1447 1447 res->rtyp = INT_CMD; … … 2547 2547 rComplete(currRing); 2548 2548 res->rtyp = INT_CMD; 2549 res->data = 0;2549 res->data = (void*)0L; 2550 2550 return FALSE; 2551 2551 } … … 2860 2860 L->m[0].data=(void *)omStrDup(r.nZahl); 2861 2861 L->m[1].rtyp=INT_CMD; 2862 L->m[1].data=(void *) r.achse; // flag for unoccupied axes2862 L->m[1].data=(void *)(long)r.achse; // flag for unoccupied axes 2863 2863 L->m[2].rtyp=INT_CMD; 2864 L->m[2].data=(void *) r.deg; // #degenerations2864 L->m[2].data=(void *)(long)r.deg; // #degenerations 2865 2865 if ( r.deg != 0) // only if degenerations exist 2866 2866 { 2867 2867 L->m[3].rtyp=INT_CMD; 2868 L->m[3].data=(void *) r.anz_punkte; // #points2868 L->m[3].data=(void *)(long)r.anz_punkte; // #points 2869 2869 //---<>--number of points------ 2870 2870 int anz = r.anz_punkte; // number of points -
Singular/grammar.cc
r5179a0 ra44806 108 108 #include <kernel/syz.h> 109 109 #include <Singular/lists.h> 110 #include < kernel/longrat.h>110 #include <libpolys/coeffs/longrat.h> 111 111 #include <Singular/libparse.h> 112 112 #include <coeffs/bigintmat.h> -
Singular/grammar.y
r5179a0 ra44806 44 44 #include <kernel/syz.h> 45 45 #include <Singular/lists.h> 46 #include < kernel/longrat.h>46 #include <libpolys/coeffs/longrat.h> 47 47 #include <Singular/libparse.h> 48 48 #include <coeffs/bigintmat.h> -
Singular/interpolation.cc
r5179a0 ra44806 20 20 #include <coeffs/longrat.h> 21 21 22 #include <kernel/longrat.h>23 22 #include <kernel/febase.h> 24 23 #include <kernel/ideals.h> -
Singular/iparith.cc
r5179a0 ra44806 5160 5160 static BOOLEAN jjUNIVARIATE(leftv res, leftv v) 5161 5161 { 5162 res->data=(char *) pIsUnivariate((poly)v->Data());5162 res->data=(char *)(long)pIsUnivariate((poly)v->Data()); 5163 5163 return FALSE; 5164 5164 } … … 5381 5381 static BOOLEAN jjpLength(leftv res, leftv v) 5382 5382 { 5383 res->data = (char *) pLength((poly)v->Data());5383 res->data = (char *)(long)pLength((poly)v->Data()); 5384 5384 return FALSE; 5385 5385 } 5386 5386 static BOOLEAN jjidElem(leftv res, leftv v) 5387 5387 { 5388 res->data = (char *) idElem((ideal)v->Data());5388 res->data = (char *)(long)idElem((ideal)v->Data()); 5389 5389 return FALSE; 5390 5390 } … … 5463 5463 static BOOLEAN jjCOUNT_RES(leftv res, leftv v) 5464 5464 { 5465 res->data=(char *) sySize((syStrategy)v->Data());5465 res->data=(char *)(long)sySize((syStrategy)v->Data()); 5466 5466 return FALSE; 5467 5467 } 5468 5468 static BOOLEAN jjDIM_R(leftv res, leftv v) 5469 5469 { 5470 res->data = (char *) syDim((syStrategy)v->Data());5470 res->data = (char *)(long)syDim((syStrategy)v->Data()); 5471 5471 return FALSE; 5472 5472 } … … 7077 7077 { 7078 7078 ll->Init(2); 7079 ll->m[0].rtyp=INT_CMD; ll->m[0].data=(void *) invertible;7079 ll->m[0].rtyp=INT_CMD; ll->m[0].data=(void *)(long)invertible; 7080 7080 ll->m[1].rtyp=MATRIX_CMD; ll->m[1].data=(void *)iMat; 7081 7081 } … … 7083 7083 { 7084 7084 ll->Init(1); 7085 ll->m[0].rtyp=INT_CMD; ll->m[0].data=(void *) invertible;7085 ll->m[0].rtyp=INT_CMD; ll->m[0].data=(void *)(long)invertible; 7086 7086 } 7087 7087 … … 7161 7161 { 7162 7162 ll->Init(3); 7163 ll->m[0].rtyp=INT_CMD; ll->m[0].data=(void *) solvable;7163 ll->m[0].rtyp=INT_CMD; ll->m[0].data=(void *)(long)solvable; 7164 7164 ll->m[1].rtyp=MATRIX_CMD; ll->m[1].data=(void *)xVec; 7165 7165 ll->m[2].rtyp=MATRIX_CMD; ll->m[2].data=(void *)homogSolSpace; … … 7168 7168 { 7169 7169 ll->Init(1); 7170 ll->m[0].rtyp=INT_CMD; ll->m[0].data=(void *) solvable;7170 ll->m[0].rtyp=INT_CMD; ll->m[0].data=(void *)(long)solvable; 7171 7171 } 7172 7172 -
Singular/ipid.cc
r5179a0 ra44806 25 25 26 26 #include <kernel/febase.h> 27 #include < kernel/longrat.h>27 #include <libpolys/coeffs/longrat.h> 28 28 #include <kernel/polys.h> 29 29 #include <kernel/ideals.h> -
Singular/ipshell.cc
r5179a0 ra44806 952 952 res->data=(char *)syBetti(r,len,®,weights,(int)(long)v->Data()); 953 953 omFreeSize((ADDRESS)r,(len)*sizeof(ideal)); 954 atSet(res,omStrDup("rowShift"),(void*) add_row_shift,INT_CMD);954 atSet(res,omStrDup("rowShift"),(void*)(long)add_row_shift,INT_CMD); 955 955 if (weights!=NULL) delete weights; 956 956 return FALSE; … … 1614 1614 // 0: char/ cf - ring 1615 1615 L->m[0].rtyp=INT_CMD; 1616 L->m[0].data=(void *) r->cf->ch;1616 L->m[0].data=(void *)(long)r->cf->ch; 1617 1617 // ---------------------------------------- 1618 1618 // 1: list (var) -
Singular/janet.cc
r5179a0 ra44806 18 18 19 19 #include <kernel/ideals.h> 20 #include < kernel/longrat.h>20 #include <libpolys/coeffs/longrat.h> 21 21 #include <kernel/febase.h> 22 22 #include <kernel/kutil.h> -
Singular/libsingular.h
r5179a0 ra44806 7 7 #include <kernel/structs.h> 8 8 #include <kernel/polys.h> 9 #include <kernel/longrat.h>10 9 #include <coeffs/numbers.h> 10 #include <libpolys/coeffs/longrat.h> 11 11 #include <kernel/febase.h> 12 12 #include <polys/monomials/ring.h> -
Singular/subexpr.cc
r5179a0 ra44806 32 32 #include <kernel/polys.h> 33 33 34 #include < kernel/longrat.h>34 #include <libpolys/coeffs/longrat.h> 35 35 // #include <coeffs/longrat.h> 36 36 -
kernel/ideals.cc
r5179a0 ra44806 43 43 #include <kernel/syz.h> 44 44 45 #include < kernel/longrat.h>45 #include <libpolys/coeffs/longrat.h> 46 46 47 47 -
kernel/tgb.cc
r5179a0 ra44806 30 30 #include <polys/nc/sca.h> 31 31 #include <polys/prCopy.h> 32 #include < kernel/longrat.h>32 #include <libpolys/coeffs/longrat.h> 33 33 #include <coeffs/modulop.h> 34 34 #define BUCKETS_FOR_NORO_RED 1 -
kernel/tmult.cc
r5179a0 ra44806 12 12 #include <kernel/numbers.h> 13 13 #include <kernel/polys.h> 14 #include < kernel/longrat.h>14 #include <libpolys/coeffs/longrat.h> 15 15 #ifdef SI_THREADS 16 16 #include <pthread.h>
Note: See TracChangeset
for help on using the changeset viewer.