Changeset e554162 in git for libpolys


Ignore:
Timestamp:
Nov 22, 2011, 7:19:05 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
8433482547cae25e8b3bbd39d7a1e85adcd3e5ae
Parents:
737b7c8c465e4892fcc4bee81dfba341b05829ac
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-22 19:19:05+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-23 01:24:53+01:00
Message:
CHG: INT_MAX -> MAX_INT_VAL
Location:
libpolys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/misc/mylimits.h

    r737b7c8 re554162  
    1010#define _MYLIMITS_H
    1111
    12 static const int MAX_INT_VAL = 2147483647;
     12/* Maximum/minimum value an `signed int' can hold. */
     13// #define MAX_INT_VAL        2147483647
     14#ifndef MAX_INT_VAL
     15#define MAX_INT_VAL     (2147483647)
     16#endif
     17
     18#ifndef MIN_INT_VAL
     19#define MIN_INT_VAL     (-MAX_INT_VAL-1)
     20#endif
     21
    1322
    1423#define ULONG_MAX (~0L)
  • libpolys/polys/sparsmat.cc

    r737b7c8 re554162  
    4545#define SM_MIN_LENGTH_BUCKET MIN_LENGTH_BUCKET - 5
    4646#else
    47 #define SM_MIN_LENGTH_BUCKET    INT_MAX
     47#define SM_MIN_LENGTH_BUCKET    MAX_INT_VAL
    4848#endif
    4949
Note: See TracChangeset for help on using the changeset viewer.