Changeset 7f7b2a in git
- Timestamp:
- Sep 7, 2010, 2:41:38 PM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 1cce476261db2ed619587e1afbc7252f6a5f79da
- Parents:
- 1b078e7ee8f4659359c8f3e8fdbfdd1134099749
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2010-09-07 14:41:38+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:28+01:00
- Location:
- coeffs
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
coeffs/Makefile.in
r1b078e r7f7b2a 86 86 87 87 CCG = ${CC} 88 CXXG = ${CXX} -Wextra -Wall -pedantic -fdiagnostics-show-option 88 CXXG = ${CXX} -Wextra -Wall -pedantic -fdiagnostics-show-option -Wno-long-long 89 89 OBJSG1 := $(CXXSOURCES:.cc=.og) 90 90 -
coeffs/config.h.in
r1b078e r7f7b2a 5 5 #pragma GCC diagnostic ignored "-Wunused-parameter" 6 6 #pragma GCC diagnostic ignored "-Wunused-variable" 7 #pragma GCC diagnostic ignored "-Wlong-long" -
coeffs/ffields.cc
r1b078e r7f7b2a 130 130 BOOLEAN nfDBTest (number a, const char *f, const int l, const coeffs r) 131 131 { 132 assume( r->m_nfPlus1Table != NULL ); 132 133 if (((long)a<0L) || ((long)a>(long)r->m_nfCharQ)) 133 134 { … … 186 187 number nfInit (int i, const coeffs r) 187 188 { 189 assume( r->m_nfPlus1Table != NULL ); 188 190 // Hmm .. this is just to prevent initialization 189 191 // from nfInitChar to go into an infinite loop … … 861 863 if( (p->GFDegree * check) > sixteenlog2 ) 862 864 { 863 Werror("illegal size"); 865 Werror("Sorry: illegal size: %u ^ %u", p->GFChar, p->GFDegree ); 866 return; // EXCEPTION? OR RETURN AN ERROR!??? 867 } 868 869 int c = pow (p->GFChar, p->GFDegree); 870 871 nfReadTable(c, r); 872 873 if( r->m_nfPlus1Table == NULL ) 874 { 875 Werror("Sorry: cannot init lookup table!"); 864 876 return; 865 877 } 866 867 int c = pow (p->GFChar, p->GFDegree); 868 869 nfReadTable(c, r); 870 878 879 871 880 assume (r -> m_nfCharQ > 0); 872 881 873 882 r->ch = r->m_nfCharP; 874 875 } 876 883 assume( r->m_nfPlus1Table != NULL ); 884 885 } -
coeffs/modulop.h
r1b078e r7f7b2a 169 169 170 170 #ifdef NV_OPS 171 #pragma GCC diagnostic ignored "-Wlong-long" 171 172 static inline number nvMultM(number a, number b, const coeffs r) 172 173 {
Note: See TracChangeset
for help on using the changeset viewer.