File: stdinth.inc

package info (click to toggle)
fpc 2.0.0-4
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 89,476 kB
  • ctags: 133,433
  • sloc: pascal: 1,075,377; makefile: 310,704; xml: 64,343; perl: 7,703; yacc: 3,297; ansic: 2,265; lex: 839; php: 447; sh: 412; sed: 132; asm: 71; csh: 34; cpp: 26; tcl: 7
file content (117 lines) | stat: -rw-r--r-- 2,607 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117

type
  int64_t = Int64;
  uint8_t = byte;

  uint16_t = word;
  uint32_t = dword;
  uint64_t = qword;
  int_least8_t = char;
  int_least16_t = smallint;
  int_least32_t = longint;
  int_least64_t = int64;
  uint_least8_t = byte;
  uint_least16_t = word;
  uint_least32_t = dword;
  uint_least64_t = qword;

  int_fast8_t = shortint;
  int_fast16_t = longint;
  int_fast32_t = longint;
  int_fast64_t = int64;
  uint_fast8_t = byte;

  uint_fast16_t = dword;
  uint_fast32_t = dword;
  uint_fast64_t = qword;

  intptr_t = longint;
  uintptr_t = dword;
  intmax_t = Int64;
  uintmax_t = QWord;

const
  INT8_MIN = -(128);
  INT16_MIN = (-(32767)) - 1;
  INT32_MIN = (-(2147483647)) - 1;
{$ifndef ver1_0}
  INT64_MIN             = int64_t(-int64_t(9223372036854775807)-1);
{$endif}

  INT8_MAX = 127;
  INT16_MAX = 32767;
  INT32_MAX = 2147483647;
{$ifndef ver1_0}
  INT64_MAX             = int64_t(9223372036854775807);
{$endif}

  UINT8_MAX = 255;
  UINT16_MAX = 65535;
  UINT32_MAX = 4294967295;
{$ifndef ver1_0}
  UINT64_MAX            = uint64_t(-1);
{$endif}

  INT_LEAST8_MIN = -(128);
  INT_LEAST16_MIN = (-(32767)) - 1;
  INT_LEAST32_MIN = (-(2147483647)) - 1;
{$ifndef ver1_0}
  INT_LEAST64_MIN = int_least64_t(-int64_t(9223372036854775807)-1);
{$endif}

  INT_LEAST8_MAX = 127;
  INT_LEAST16_MAX = 32767;
  INT_LEAST32_MAX = 2147483647;
{$ifndef ver1_0}
  INT_LEAST64_MAX =  int_least64_t(9223372036854775807);
{$endif}

  UINT_LEAST8_MAX = 255;
  UINT_LEAST16_MAX = 65535;
  UINT_LEAST32_MAX = 4294967295;
{$ifndef ver1_0}
  UINT_LEAST64_MAX      = uint_least64_t(-1);
{$endif}

  INT_FAST8_MIN = -(128);
  INT_FAST16_MIN = (-(2147483647)) - 1;
  INT_FAST32_MIN = (-(2147483647)) - 1;
{$ifndef ver1_0}
  INT_FAST64_MIN        = int_fast64_t(-Int64(9223372036854775807)-1);
{$endif}

  INT_FAST8_MAX = 127;
  INT_FAST16_MAX = 2147483647;
  INT_FAST32_MAX = 2147483647;
{$ifndef ver1_0}
  INT_FAST64_MAX        = int_fast64_t(9223372036854775807);
{$endif}

  UINT_FAST8_MAX = 255;
  UINT_FAST16_MAX = 4294967295;
  UINT_FAST32_MAX = 4294967295;
{$ifndef ver1_0}
  UINT_FAST64_MAX       = uint_fast64_t(-1);
{$endif}

  INTPTR_MIN = (-(2147483647)) - 1;
  INTPTR_MAX = 2147483647;
  UINTPTR_MAX = 4294967295;

{$ifndef ver1_0}
  INTMAX_MIN            = Int64(-Int64(9223372036854775807)-1);
  INTMAX_MAX            = Int64(9223372036854775807);
  UINTMAX_MAX           = QWord(-1);
{$endif}

  PTRDIFF_MIN = (-(2147483647)) - 1;
  PTRDIFF_MAX = 2147483647;

  SIG_ATOMIC_MIN = (-(2147483647)) - 1;
  SIG_ATOMIC_MAX = 2147483647;

  SIZE_MAX = 4294967295;

  WINT_MIN = 0;
  WINT_MAX = 4294967295;