Changeset 9c83f2 in git
- Timestamp:
- Feb 4, 2011, 3:13:00 PM (13 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
- Children:
- 6131742d9c3d9355ca824df2aada696af30a31fd
- Parents:
- 4581a96e8a3be34bc5a0c30e5cc4415cf45006fc
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-02-04 15:13:00+01:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:59:28+01:00
- Files:
-
- 7 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
kernel/febase.cc
r4581a96 r9c83f2 1019 1019 1020 1020 1021 const char* eati(const char *s, int *i)1022 {1023 int l=0;1024 1025 if (*s >= '0' && *s <= '9')1026 {1027 *i = 0;1028 while (*s >= '0' && *s <= '9')1029 {1030 *i *= 10;1031 *i += *s++ - '0';1032 l++;1033 if ((l>=MAX_INT_LEN)||((*i) <0))1034 {1035 s-=l;1036 Werror("`%s` greater than %d(max. integer representation)",1037 s,MAX_INT_VAL);1038 return s;1039 }1040 }1041 }1042 else *i = 1;1043 return s;1044 }1045 1021 #else /* ! STANDALONE_PARSER */ 1046 1022 #include <stdio.h> -
kernel/febase.h
r4581a96 r9c83f2 244 244 void Warn(const char *fmt, ...); 245 245 BOOLEAN contBuffer(feBufferTypes typ); 246 const char * eati(const char *s, int *i);247 246 BOOLEAN exitBuffer(feBufferTypes typ); 248 247 BOOLEAN exitVoice(); -
libpolys/misc/Makefile.am
r4581a96 r9c83f2 1 include_HEADERS=auxiliary.h mylimits.h 1 include_HEADERS=auxiliary.h mylimits.h options.h 2 2 -
libpolys/misc/intvec.h
r4581a96 r9c83f2 10 10 #include <string.h> 11 11 #include <omalloc/omalloc.h> 12 #include < kernel/febase.h>12 #include <reporter/reporter.h> 13 13 14 14 -
libpolys/polys/monomials/p_polys.cc
r4581a96 r9c83f2 19 19 #include <coeffs/longrat.h> 20 20 #include <misc/options.h> 21 #include <misc/intvec.h> 21 22 // #include <???/ideals.h> 22 23 // #include <???/int64vec.h> … … 1871 1872 h = nlInit(1, r->cf); 1872 1873 p=ph; 1874 Werror("longalg missing"); 1875 #if 0 1873 1876 while (p!=NULL) 1874 1877 { // each monom: coeff in Q_a … … 1934 1937 } 1935 1938 nlDelete(&h,r->algring->cf); 1939 #endif 1936 1940 } 1937 1941 } -
libpolys/polys/monomials/ring.cc
r4581a96 r9c83f2 14 14 #include <omalloc/omalloc.h> 15 15 #include <misc/options.h> 16 #include <misc/intvec.h> 16 17 #include <polys/monomials/ring.h> 17 18 #include <polys/monomials/p_polys.h> -
libpolys/reporter/reporter.cc
r4581a96 r9c83f2 375 375 /* end extern "C" */ 376 376 } 377 378 const char* eati(const char *s, int *i) 379 { 380 int l=0; 381 382 if (*s >= '0' && *s <= '9') 383 { 384 *i = 0; 385 while (*s >= '0' && *s <= '9') 386 { 387 *i *= 10; 388 *i += *s++ - '0'; 389 l++; 390 if ((l>=MAX_INT_LEN)||((*i) <0)) 391 { 392 s-=l; 393 Werror("`%s` greater than %d(max. integer representation)", 394 s,MAX_INT_VAL); 395 return s; 396 } 397 } 398 } 399 else *i = 1; 400 return s; 401 } -
libpolys/reporter/reporter.h
r4581a96 r9c83f2 63 63 void Warn(const char *fmt, ...); 64 64 65 const char * eati(const char *s, int *i); 66 65 67 #endif /* c++ only */ 66 68
Note: See TracChangeset
for help on using the changeset viewer.