Changeset 1628d3b in git
- Timestamp:
- Feb 16, 2011, 3:52:02 PM (13 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- af8c79e316e617d102755c9e4c24252fd4a518af
- Parents:
- ea11dcde9c525e14e42ef49423d3913e03d714de
- git-author:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-02-16 15:52:02+01:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:59:29+01:00
- Location:
- libpolys/misc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/misc/Makefile.am
rea11dc r1628d3b 1 include_HEADERS=auxiliary.h mylimits.h options.h 1 lib_LIBRARIES=libmisc.a libmisc_g.a 2 2 3 AM_CFLAGS = -O3 -w -fomit-frame-pointer ${PIPE} 4 CXXTEMPLFLAGS = -fno-implicit-templates --no-exceptions 5 AM_CXXFLAGS = -O3 -w -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS} 6 INCLUDES = -I${top_srcdir}/.. -I${top_srcdir}/../.. -I${top_builddir}/.. 7 AM_CPPFLAGS = -DNDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H 8 9 SOURCES = intvec.cc 10 11 libmisc_a_SOURCES = $(SOURCES) 12 13 libmisc_a_includedir=$(includedir)/libpolys/misc 14 15 libmisc_a_include_HEADERS = auxiliary.h mylimits.h options.h intvec.h 16 17 libmisc_g_a_SOURCES = $(SOURCES) 18 19 libmisc_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -fdiagnostics-show-option -Wno-long-long -
libpolys/misc/auxiliary.h
rea11dc r1628d3b 88 88 #define loop for(;;) 89 89 90 #if defined(__cplusplus) 90 91 static inline int si_max(const int a, const int b) { return (a>b) ? a : b; } 92 static inline int si_min(const int a, const int b) { return (a<b) ? a : b; } 93 static inline long si_max(const long a, const long b) { return (a>b) ? a : b; } 94 static inline unsigned long si_max(const unsigned long a, const unsigned long b) { return (a>b) ? a : b; } 95 static inline long si_min(const long a, const long b) { return (a<b) ? a : b; } 96 static inline unsigned long si_min(const unsigned long a, const unsigned long b) { return (a<b) ? a : b; } 97 #else 98 #define si_max(A,B) ((A) > (B) ? (A) : (B)) 99 #define si_min(A,B) ((A) < (B) ? (A) : (B)) 100 #endif 101 91 102 92 103 // ---------------- end of Singular standard types etc. -
libpolys/misc/configure.ac
rea11dc r1628d3b 13 13 AC_PROG_LN_S 14 14 AC_PROG_INSTALL 15 AC_PROG_RANLIB 15 16 16 17 # Checks for libraries. -
libpolys/misc/intvec.cc
rea11dc r1628d3b 8 8 #ifndef INTVEC_CC 9 9 #define INTVEC_CC 10 #include <kernel/mod2.h> 11 #include <kernel/febase.h> 12 #include <kernel/options.h> 13 #include <kernel/intvec.h> 10 // #include <resources/feFopen.h> 11 #include <misc/intvec.h> 14 12 #include <omalloc/omalloc.h> 15 13 … … 654 652 intvec *res=new intvec(c); 655 653 656 if (TEST_OPT_PROT)657 Warn(" %d linear independent solutions\n",r);654 //if (TEST_OPT_PROT) 655 // Warn(" %d linear independent solutions\n",r); 658 656 for (i=r;i>1;i--) 659 657 {
Note: See TracChangeset
for help on using the changeset viewer.