1 | // |
---|
2 | // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo |
---|
3 | // |
---|
4 | // The contents of this file are covered under the licence agreement in the |
---|
5 | // file "LICENCE" distributed with Cforall. |
---|
6 | // |
---|
7 | // limits.c -- |
---|
8 | // |
---|
9 | // Author : Peter A. Buhr |
---|
10 | // Created On : Tue May 10 20:44:20 2016 |
---|
11 | // Last Modified By : Peter A. Buhr |
---|
12 | // Last Modified On : Tue May 10 20:45:28 2016 |
---|
13 | // Update Count : 1 |
---|
14 | // |
---|
15 | |
---|
16 | #include <limits> |
---|
17 | |
---|
18 | // Integral Constants |
---|
19 | |
---|
20 | short int m = MIN; |
---|
21 | int m = MIN; |
---|
22 | long int m = MIN; |
---|
23 | long long int m = MIN; |
---|
24 | |
---|
25 | short int M = MAX; |
---|
26 | unsigned short int M = MAX; |
---|
27 | int M = MAX; |
---|
28 | unsigned int M = MAX; |
---|
29 | long int M = MAX; |
---|
30 | unsigned long int M = MAX; |
---|
31 | long long int M = MAX; |
---|
32 | unsigned long long int M = MAX; |
---|
33 | |
---|
34 | // Floating-Point Constants |
---|
35 | |
---|
36 | float pi = PI; |
---|
37 | float pi_2 = PI_2; |
---|
38 | float pi_4 = PI_4; |
---|
39 | float _1_pi = _1_PI; |
---|
40 | float _2_pi = _2_PI; |
---|
41 | float _2_sqrt_pi = _2_SQRT_PI; |
---|
42 | |
---|
43 | double pi = PI; |
---|
44 | double pi_2 = PI_2; |
---|
45 | double pi_4 = PI_4; |
---|
46 | double _1_pi = _1_PI; |
---|
47 | double _2_pi = _2_PI; |
---|
48 | double _2_SQRT_pi = _2_SQRT_PI; |
---|
49 | |
---|
50 | long double pi = PI; |
---|
51 | long double pi_2 = PI_2; |
---|
52 | long double pi_4 = PI_4; |
---|
53 | long double _1_pi = _1_PI; |
---|
54 | long double _2_pi = _2_PI; |
---|
55 | long double _2_sqrt_pi = _2_SQRT_PI; |
---|
56 | |
---|
57 | _Complex pi = PI; |
---|
58 | _Complex pi_2 = PI_2; |
---|
59 | _Complex pi_4 = PI_4; |
---|
60 | _Complex _1_pi = _1_PI; |
---|
61 | _Complex _2_pi = _2_PI; |
---|
62 | _Complex _2_sqrt_pi = _2_SQRT_PI; |
---|
63 | |
---|
64 | long _Complex pi = PI; |
---|
65 | long _Complex pi_2 = PI_2; |
---|
66 | long _Complex pi_4 = PI_4; |
---|
67 | long _Complex _1_pi = _1_PI; |
---|
68 | long _Complex _2_pi = _2_PI; |
---|
69 | long _Complex _2_sqrt_pi = _2_SQRT_PI; |
---|
70 | |
---|
71 | float e = E; |
---|
72 | float log2_e = LOG2_E; |
---|
73 | float log10_e = LOG10_E; |
---|
74 | float ln_2 = LN_2; |
---|
75 | float ln_10 = LN_10; |
---|
76 | float sqrt_2 = SQRT_2; |
---|
77 | float _1_sqrt_2 = _1_SQRT_2; |
---|
78 | |
---|
79 | double e = E; |
---|
80 | double log2_e = LOG2_E; |
---|
81 | double log10_e = LOG10_E; |
---|
82 | double ln_2 = LN_2; |
---|
83 | double ln_10 = LN_10; |
---|
84 | double sqrt_2 = SQRT_2; |
---|
85 | double _1_sqrt_2 = _1_SQRT_2; |
---|
86 | |
---|
87 | long double e = E; |
---|
88 | long double log2_e = LOG2_E; |
---|
89 | long double log10_e = LOG10_E; |
---|
90 | long double ln_2 = LN_2; |
---|
91 | long double ln_10 = LN_10; |
---|
92 | long double sqrt_2 = SQRT_2; |
---|
93 | long double _1_sqrt_2 = _1_SQRT_2; |
---|
94 | |
---|
95 | _Complex e = E; |
---|
96 | _Complex log2_e = LOG2_E; |
---|
97 | _Complex log10_e = LOG10_E; |
---|
98 | _Complex ln_2 = LN_2; |
---|
99 | _Complex ln_10 = LN_10; |
---|
100 | _Complex sqrt_2 = SQRT_2; |
---|
101 | _Complex _1_sqrt_2 = _1_SQRT_2; |
---|
102 | |
---|
103 | long _Complex e = E; |
---|
104 | long _Complex log2_e = LOG2_E; |
---|
105 | long _Complex log10_e = LOG10_E; |
---|
106 | long _Complex ln_2 = LN_2; |
---|
107 | long _Complex ln_10 = LN_10; |
---|
108 | long _Complex sqrt_2 = SQRT_2; |
---|
109 | long _Complex _1_sqrt_2 = _1_SQRT_2; |
---|
110 | |
---|
111 | int main(int argc, char const *argv[]) { |
---|
112 | //DUMMY |
---|
113 | return 0; |
---|
114 | } |
---|
115 | |
---|
116 | // Local Variables: // |
---|
117 | // tab-width: 4 // |
---|
118 | // compile-command: "cfa limits.c" // |
---|
119 | // End: // |
---|