Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/limits.c

    r3d9b5da r6e4b913  
    1010// Created On       : Wed Apr  6 18:06:52 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Apr  7 17:18:45 2016
    13 // Update Count     : 11
     12// Last Modified On : Fri Jul  8 13:23:33 2016
     13// Update Count     : 14
    1414//
    1515
     
    2020const short int MIN = -32768;
    2121const int MIN = -2147483648;
     22#if __WORDSIZE == 64
    2223const long int MIN = -9223372036854775807L - 1L;
     24#else
     25const long int MIN = (int)MIN;
     26#endif // M64
    2327const long long int MIN = -9223372036854775807LL - 1LL;
    2428
     
    2731const int MAX = 2147483647;
    2832const unsigned int MAX = 4294967295_U;
     33#if __WORDSIZE == 64
    2934const long int MAX = 9223372036854775807_L;
     35#else
     36const long int MAX = (int)MAX;
     37#endif // M64
    3038const unsigned long int MAX = 4294967295_U;
    3139const long long int MAX = 9223372036854775807_LL;
Note: See TracChangeset for help on using the changeset viewer.