[3e8fb3b] | 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 | // |
---|
[ebcd82b] | 7 | // limits.c -- |
---|
[3e8fb3b] | 8 | // |
---|
| 9 | // Author : Peter A. Buhr |
---|
| 10 | // Created On : Tue May 10 20:44:20 2016 |
---|
| 11 | // Last Modified By : Peter A. Buhr |
---|
[2701c91] | 12 | // Last Modified On : Thu Mar 1 16:21:55 2018 |
---|
| 13 | // Update Count : 7 |
---|
[ebcd82b] | 14 | // |
---|
[3e8fb3b] | 15 | |
---|
[73abe95] | 16 | #include <limits.hfa> |
---|
[d3b7937] | 17 | |
---|
| 18 | // Integral Constants |
---|
| 19 | |
---|
[2701c91] | 20 | signed char m = MIN; |
---|
| 21 | unsigned char m = MIN; |
---|
[3e8fb3b] | 22 | short int m = MIN; |
---|
[2701c91] | 23 | unsigned short int m = MIN; |
---|
[3e8fb3b] | 24 | int m = MIN; |
---|
[2701c91] | 25 | unsigned int m = MIN; |
---|
[3e8fb3b] | 26 | long int m = MIN; |
---|
[2701c91] | 27 | unsigned long int m = MIN; |
---|
[3e8fb3b] | 28 | long long int m = MIN; |
---|
[2701c91] | 29 | unsigned long long int m = MIN; |
---|
[d3b7937] | 30 | |
---|
[2701c91] | 31 | signed char M = MAX; |
---|
| 32 | unsigned char M = MAX; |
---|
[3e8fb3b] | 33 | short int M = MAX; |
---|
| 34 | unsigned short int M = MAX; |
---|
| 35 | int M = MAX; |
---|
| 36 | unsigned int M = MAX; |
---|
| 37 | long int M = MAX; |
---|
| 38 | unsigned long int M = MAX; |
---|
| 39 | long long int M = MAX; |
---|
| 40 | unsigned long long int M = MAX; |
---|
[d3b7937] | 41 | |
---|
| 42 | // Floating-Point Constants |
---|
| 43 | |
---|
[2701c91] | 44 | float m = MIN; |
---|
| 45 | double m = MIN; |
---|
| 46 | long double m = MIN; |
---|
| 47 | float _Complex m = MIN; |
---|
| 48 | double _Complex m = MIN; |
---|
| 49 | long double _Complex m = MIN; |
---|
| 50 | |
---|
| 51 | float M = MAX; |
---|
| 52 | double M = MAX; |
---|
| 53 | long double M = MAX; |
---|
| 54 | float _Complex M = MAX; |
---|
| 55 | double _Complex M = MAX; |
---|
| 56 | long double _Complex M = MAX; |
---|
| 57 | |
---|
[3e8fb3b] | 58 | float pi = PI; |
---|
| 59 | float pi_2 = PI_2; |
---|
| 60 | float pi_4 = PI_4; |
---|
| 61 | float _1_pi = _1_PI; |
---|
| 62 | float _2_pi = _2_PI; |
---|
| 63 | float _2_sqrt_pi = _2_SQRT_PI; |
---|
| 64 | |
---|
| 65 | double pi = PI; |
---|
| 66 | double pi_2 = PI_2; |
---|
| 67 | double pi_4 = PI_4; |
---|
| 68 | double _1_pi = _1_PI; |
---|
| 69 | double _2_pi = _2_PI; |
---|
| 70 | double _2_SQRT_pi = _2_SQRT_PI; |
---|
| 71 | |
---|
| 72 | long double pi = PI; |
---|
| 73 | long double pi_2 = PI_2; |
---|
| 74 | long double pi_4 = PI_4; |
---|
| 75 | long double _1_pi = _1_PI; |
---|
| 76 | long double _2_pi = _2_PI; |
---|
| 77 | long double _2_sqrt_pi = _2_SQRT_PI; |
---|
| 78 | |
---|
[2701c91] | 79 | float _Complex pi = PI; |
---|
| 80 | float _Complex pi_2 = PI_2; |
---|
| 81 | float _Complex pi_4 = PI_4; |
---|
| 82 | float _Complex _1_pi = _1_PI; |
---|
| 83 | float _Complex _2_pi = _2_PI; |
---|
| 84 | float _Complex _2_sqrt_pi = _2_SQRT_PI; |
---|
| 85 | |
---|
| 86 | double _Complex pi = PI; |
---|
| 87 | double _Complex pi_2 = PI_2; |
---|
| 88 | double _Complex pi_4 = PI_4; |
---|
| 89 | double _Complex _1_pi = _1_PI; |
---|
| 90 | double _Complex _2_pi = _2_PI; |
---|
| 91 | double _Complex _2_sqrt_pi = _2_SQRT_PI; |
---|
| 92 | |
---|
| 93 | long double _Complex pi = PI; |
---|
| 94 | long double _Complex pi_2 = PI_2; |
---|
| 95 | long double _Complex pi_4 = PI_4; |
---|
| 96 | long double _Complex _1_pi = _1_PI; |
---|
| 97 | long double _Complex _2_pi = _2_PI; |
---|
| 98 | long double _Complex _2_sqrt_pi = _2_SQRT_PI; |
---|
[3e8fb3b] | 99 | |
---|
| 100 | float e = E; |
---|
| 101 | float log2_e = LOG2_E; |
---|
| 102 | float log10_e = LOG10_E; |
---|
| 103 | float ln_2 = LN_2; |
---|
| 104 | float ln_10 = LN_10; |
---|
| 105 | float sqrt_2 = SQRT_2; |
---|
| 106 | float _1_sqrt_2 = _1_SQRT_2; |
---|
| 107 | |
---|
| 108 | double e = E; |
---|
| 109 | double log2_e = LOG2_E; |
---|
| 110 | double log10_e = LOG10_E; |
---|
| 111 | double ln_2 = LN_2; |
---|
| 112 | double ln_10 = LN_10; |
---|
| 113 | double sqrt_2 = SQRT_2; |
---|
| 114 | double _1_sqrt_2 = _1_SQRT_2; |
---|
| 115 | |
---|
| 116 | long double e = E; |
---|
| 117 | long double log2_e = LOG2_E; |
---|
| 118 | long double log10_e = LOG10_E; |
---|
| 119 | long double ln_2 = LN_2; |
---|
| 120 | long double ln_10 = LN_10; |
---|
| 121 | long double sqrt_2 = SQRT_2; |
---|
| 122 | long double _1_sqrt_2 = _1_SQRT_2; |
---|
| 123 | |
---|
[2701c91] | 124 | float _Complex e = E; |
---|
| 125 | float _Complex log2_e = LOG2_E; |
---|
| 126 | float _Complex log10_e = LOG10_E; |
---|
| 127 | float _Complex ln_2 = LN_2; |
---|
| 128 | float _Complex ln_10 = LN_10; |
---|
| 129 | float _Complex sqrt_2 = SQRT_2; |
---|
| 130 | float _Complex _1_sqrt_2 = _1_SQRT_2; |
---|
| 131 | |
---|
| 132 | double _Complex e = E; |
---|
| 133 | double _Complex log2_e = LOG2_E; |
---|
| 134 | double _Complex log10_e = LOG10_E; |
---|
| 135 | double _Complex ln_2 = LN_2; |
---|
| 136 | double _Complex ln_10 = LN_10; |
---|
| 137 | double _Complex sqrt_2 = SQRT_2; |
---|
| 138 | double _Complex _1_sqrt_2 = _1_SQRT_2; |
---|
| 139 | |
---|
| 140 | long double _Complex e = E; |
---|
| 141 | long double _Complex log2_e = LOG2_E; |
---|
| 142 | long double _Complex log10_e = LOG10_E; |
---|
| 143 | long double _Complex ln_2 = LN_2; |
---|
| 144 | long double _Complex ln_10 = LN_10; |
---|
| 145 | long double _Complex sqrt_2 = SQRT_2; |
---|
| 146 | long double _Complex _1_sqrt_2 = _1_SQRT_2; |
---|
[d3b7937] | 147 | |
---|
[ebcd82b] | 148 | int main(int argc, char const *argv[]) { |
---|
| 149 | //DUMMY |
---|
| 150 | return 0; |
---|
| 151 | } |
---|
| 152 | |
---|
[d3b7937] | 153 | // Local Variables: // |
---|
| 154 | // tab-width: 4 // |
---|
[94980502] | 155 | // compile-command: "cfa limits.c" // |
---|
[d3b7937] | 156 | // End: // |
---|