summaryrefslogtreecommitdiff
path: root/src/limits/LONG_MAX.h
blob: 2612cd1f92118051e7f47687eb1f321aef6db9e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <limits.h>
#if defined __LP32__ || defined __ILP32__ || defined __LLP64__
#define LONG_MAX                                                   (2147483647L)
#elif defined __ILP64__ || defined __LP64__
#define LONG_MAX                                          (9223372036854775807L)
#endif

/** long maximum **/

/***
is the maximum value representable as a TYPE(long int).
***/

/*
VALUE_MIN(2147483647)
*/
/*
STDC(1)
*/