12 # include <singularconfig.h> 15 #define SINGULAR_MAJOR_VERSION 4 19 #define VERSION "4.1.0" 20 #define SINGULAR_MINOR_VERSION 1 21 #define SINGULAR_SUB_VERSION 0 23 #define SINGULAR_MINOR_VERSION 0 24 #define SINGULAR_SUB_VERSION 3 33 #define HAVE_GETTIMEOFDAY 1 34 #define TIME_WITH_SYS_TIME 1 35 #define HAVE_SYS_TIME_H 1 38 #define TIMER_RESOLUTION 1 44 #define FAST_AND_DIRTY 47 #define HAVE_EIGENVAL 1 53 #define HAVE_SIMPLEIPC 1 71 #define HAVE_LIBPARSER 84 #define HAVE_SPECTRUM 1 92 #define SINGULAR_VERSION 4100 94 #define SINGULAR_PATCHLEVEL 4 95 #define SINGULAR_VERSION ((SINGULAR_MAJOR_VERSION*1000 + SINGULAR_MINOR_VERSION*100 + SINGULAR_SUB_VERSION*10)+SINGULAR_PATCHLEVEL) 100 #ifndef HAVE_LIBPARSER 126 #define HALT() m2_end(2) 138 #undef DO_DEEP_PROFILE 149 #define LINKAGE extern "C" 304 #define OM_SING_KEEP 1000 337 #undef SPECTRUM_IOSTREAM 339 #ifdef SPECTRUM_DEBUG 340 #define MULTICNT_DEBUG 342 #define KMATRIX_DEBUG 344 #define NPOLYGON_DEBUG 348 #ifdef SPECTRUM_PRINT 349 #define MULTICNT_PRINT 351 #define KMATRIX_PRINT 353 #define NPOLYGON_PRINT 357 #ifdef SPECTRUM_IOSTREAM 358 #define MULTICNT_IOSTREAM 359 #define GMPRAT_IOSTREAM 360 #define KMATRIX_IOSTREAM 361 #define SPLIST_IOSTREAM 362 #define NPOLYGON_IOSTREAM 363 #define SEMIC_IOSTREAM 396 #define assume(x) do {} while (0) 397 #define r_assume(x) do {} while (0) 400 #define assume_violation(s,f,l) \ 401 dReportError("assume violation at %s:%d condition: %s", f,l,s) 403 #define assume(x) _assume(x, __FILE__, __LINE__) 404 #define r_assume(x) _r_assume(x, __FILE__, __LINE__) 406 #define _assume(x, f, l) \ 411 assume_violation(#x, f, l); \ 416 #define _r_assume(x, f, l) \ 421 assume_violation(#x, f, l); \ 435 #if SIZEOF_VOIDP == 8 443 # define __attribute__(x) 446 #define STRINGIFY(name) #name 447 #define EXPANDED_STRINGIFY(name) STRINGIFY(name)
int dReportError(const char *fmt,...)