- Timestamp:
- Dec 18, 2018, 4:17:32 PM (5 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 921f32e8096a04479ffe856dbc19d6e5553acbf6
- Parents:
- c7231560b85e2e1683beb9629db0560ee8ca425518a3dfc149d105d7058f8c06ea4ad50eb59f0c94
- Location:
- libpolys
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/coeffs.h
rc723156 rb849856 11 11 12 12 #include "misc/auxiliary.h" 13 #ifdef HAVE_OMALLOC14 13 #include "omalloc/omalloc.h" 15 #else16 #include "xalloc/omalloc.h"17 #endif18 14 19 15 #include "misc/sirandom.h" -
libpolys/coeffs/shortfl.h
rc723156 rb849856 8 8 */ 9 9 #include "misc/auxiliary.h" 10 #ifdef HAVE_OMALLOC11 10 #include "omalloc/omalloc.h" 12 #else13 #include "xalloc/omalloc.h"14 #endif15 11 16 12 #if SIZEOF_DOUBLE == SIZEOF_LONG -
libpolys/misc/int64vec.h
rc723156 rb849856 11 11 12 12 #include "misc/auxiliary.h" 13 #include "omalloc/omalloc.h" 13 14 #ifdef HAVE_OMALLOC 14 #include "omalloc/omalloc.h"15 15 #include "omalloc/omallocClass.h" 16 #else17 #include "xalloc/omalloc.h"18 16 #endif 19 17 -
libpolys/misc/intvec.cc
rc723156 rb849856 12 12 #include "misc/intvec.h" 13 13 #include "misc/options.h" 14 #ifdef HAVE_OMALLOC15 14 #include "omalloc/omalloc.h" 16 #else17 #include "xalloc/omalloc.h"18 #endif19 20 15 21 16 #pragma GCC push_options -
libpolys/misc/intvec.h
rc723156 rb849856 9 9 #include <string.h> 10 10 #include "misc/auxiliary.h" 11 #include "omalloc/omalloc.h" 11 12 #ifdef HAVE_OMALLOC 12 #include "omalloc/omalloc.h"13 13 #include "omalloc/omallocClass.h" 14 #else15 #include "xalloc/omalloc.h"16 14 #endif 17 15 -
libpolys/polys/mod_raw.cc
rc723156 rb849856 19 19 #include <unistd.h> 20 20 21 22 23 24 25 21 #include "misc/auxiliary.h" 26 27 22 #include "reporter/reporter.h" 28 29 23 #include "resources/feResource.h" 30 31 #ifdef HAVE_OMALLOC32 24 #include "omalloc/omalloc.h" 33 #else34 #include "xalloc/omalloc.h"35 #endif36 37 25 #include "mod_raw.h" 38 26 -
libpolys/polys/shiftop.cc
r18a3df rb849856 368 368 p_GetExpV(m,e,ri); 369 369 370 if (p_mLastVblock(m, e, ri) + sh > ri->N/lV) 371 { 372 Werror("letterplace degree bound is %d, but at least %d is needed for this shift", ri->N/lV, p_mLastVblock(m, e, ri) + sh); 373 } 370 374 for (int i = ri->N - sh*lV; i > 0; i--) 371 375 { … … 506 510 PrintLn(); WriteLPExpV(m2ExpV, ri); 507 511 #endif 508 if (m1Length + m2Length > ri->N) 509 { 510 WarnS("letterplace degree bound too low for this multiplication"); 511 } 512 for (int i = 1 + m1Length; i < 1 + m1Length + m2Length; ++i) 512 int last = m1Length + m2Length; 513 if (last > ri->N) 514 { 515 Werror("letterplace degree bound is %d, but at least %d is needed for this multiplication", ri->N/ri->isLPring, last/ri->isLPring); 516 last = ri->N; 517 } 518 for (int i = 1 + m1Length; i < 1 + last; ++i) 513 519 { 514 520 assume(m2ExpV[i - m1Length] <= 1); … … 531 537 PrintLn(); WriteLPExpV(m2ExpV, ri); 532 538 #endif 533 if (m1Length + m2Length > ri->N) 534 { 535 WarnS("letterplace degree bound too low for this multiplication"); 539 int last = m1Length + m2Length; 540 if (last > ri->N) 541 { 542 Werror("letterplace degree bound is %d, but at least %d is needed for this multiplication", ri->N/ri->isLPring, last/ri->isLPring); 543 last = ri->N; 536 544 } 537 545 538 546 // shift m1 by m2Length 539 for (int i = m2Length + m1Length; i >= 1 + m2Length; --i)547 for (int i = last; i >= 1 + m2Length; --i) 540 548 { 541 549 m1ExpV[i] = m1ExpV[i - m2Length]; -
libpolys/polys/weight0.c
rc723156 rb849856 8 8 9 9 #include "misc/auxiliary.h" 10 11 #ifdef HAVE_OMALLOC12 10 #include "omalloc/omalloc.h" 13 #else14 #include "xalloc/omalloc.h"15 #endif16 11 17 12 #include <math.h> -
libpolys/reporter/reporter.cc
rc723156 rb849856 13 13 #include "resources/feFopen.h" 14 14 //#include "options.h" 15 #ifdef HAVE_OMALLOC16 15 #include "omalloc/omalloc.h" 17 #else18 #include "xalloc/omalloc.h"19 #endif20 16 21 17 #include <stdlib.h> -
libpolys/reporter/s_buff.cc
rc723156 rb849856 11 11 12 12 #include "misc/auxiliary.h" 13 #ifdef HAVE_OMALLOC14 13 #include "omalloc/omalloc.h" 15 #else16 #include "xalloc/omalloc.h"17 #endif18 14 19 15 #include "reporter/s_buff.h"
Note: See TracChangeset
for help on using the changeset viewer.