Changeset e17f69 in git for libpolys/misc/mylimits.h


Ignore:
Timestamp:
Nov 29, 2012, 8:43:25 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
bc2606c794d00713ff51852ec7e067799ad62326
Parents:
2e984a6cbf8ed1e42ed3c9d1ef5cee27a2a33027
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-29 20:43:25+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-29 23:08:27+01:00
Message:
Correct (?!) pre-processor checks and definitions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/misc/mylimits.h

    r2e984a re17f69  
    2222// #define ULONG_MAX (~0UL) // ??
    2323#ifndef ULONG_MAX
    24 #define ULONG_MAX (~0L)
     24#define ULONG_MAX (~0UL)
    2525#endif
    2626
     
    2828// #if ~0UL != 4294967295UL
    2929#ifndef LONG_MAX
    30 #if ~0UL == 4294967295UL
     30#if ULONG_MAX != 4294967295UL
    3131#define LONG_MAX 9223372036854775807L
    3232#else
Note: See TracChangeset for help on using the changeset viewer.