13 # include <singularconfig.h> 17 #define SINGULAR_MAJOR_VERSION 4 21 #define VERSION "4.1.0" 22 #define SINGULAR_MINOR_VERSION 1 23 #define SINGULAR_SUB_VERSION 0 25 #define SINGULAR_MINOR_VERSION 0 26 #define SINGULAR_SUB_VERSION 3 35 #define HAVE_GETTIMEOFDAY 1 36 #define TIME_WITH_SYS_TIME 1 37 #define HAVE_SYS_TIME_H 1 40 #define TIMER_RESOLUTION 1 46 #define FAST_AND_DIRTY 49 #define HAVE_EIGENVAL 1 55 #define HAVE_SIMPLEIPC 1 73 #define HAVE_LIBPARSER 86 #define HAVE_SPECTRUM 1 94 #define SINGULAR_VERSION 4100 96 #define SINGULAR_PATCHLEVEL 0 97 #define SINGULAR_VERSION ((SINGULAR_MAJOR_VERSION*1000 + SINGULAR_MINOR_VERSION*100 + SINGULAR_SUB_VERSION*10)+SINGULAR_PATCHLEVEL) 102 #ifndef HAVE_LIBPARSER 128 #define HALT() m2_end(2) 140 #undef DO_DEEP_PROFILE 151 #define LINKAGE extern "C" 306 #define OM_SING_KEEP 1000 339 #undef SPECTRUM_IOSTREAM 341 #ifdef SPECTRUM_DEBUG 342 #define MULTICNT_DEBUG 344 #define KMATRIX_DEBUG 346 #define NPOLYGON_DEBUG 350 #ifdef SPECTRUM_PRINT 351 #define MULTICNT_PRINT 353 #define KMATRIX_PRINT 355 #define NPOLYGON_PRINT 359 #ifdef SPECTRUM_IOSTREAM 360 #define MULTICNT_IOSTREAM 361 #define GMPRAT_IOSTREAM 362 #define KMATRIX_IOSTREAM 363 #define SPLIST_IOSTREAM 364 #define NPOLYGON_IOSTREAM 365 #define SEMIC_IOSTREAM 398 #define assume(x) do {} while (0) 399 #define r_assume(x) do {} while (0) 402 #define assume_violation(s,f,l) \ 403 dReportError("assume violation at %s:%d condition: %s", f,l,s) 405 #define assume(x) _assume(x, __FILE__, __LINE__) 406 #define r_assume(x) _r_assume(x, __FILE__, __LINE__) 408 #define _assume(x, f, l) \ 413 assume_violation(#x, f, l); \ 418 #define _r_assume(x, f, l) \ 423 assume_violation(#x, f, l); \ 437 #if SIZEOF_VOIDP == 8 445 # define __attribute__(x) 448 #define STRINGIFY(name) #name 449 #define EXPANDED_STRINGIFY(name) STRINGIFY(name)
int dReportError(const char *fmt,...)