Changeset 000ff2c for src/tests/limits.c
- Timestamp:
- Mar 2, 2018, 6:22:52 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 2097cd4, 82c367d
- Parents:
- 938dd75 (diff), c9b3a41 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/limits.c
r938dd75 r000ff2c 10 10 // Created On : Tue May 10 20:44:20 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T ue May 10 20:45:28 201613 // Update Count : 112 // Last Modified On : Thu Mar 1 16:21:55 2018 13 // Update Count : 7 14 14 // 15 15 … … 18 18 // Integral Constants 19 19 20 signed char m = MIN; 21 unsigned char m = MIN; 20 22 short int m = MIN; 23 unsigned short int m = MIN; 21 24 int m = MIN; 25 unsigned int m = MIN; 22 26 long int m = MIN; 27 unsigned long int m = MIN; 23 28 long long int m = MIN; 29 unsigned long long int m = MIN; 24 30 31 signed char M = MAX; 32 unsigned char M = MAX; 25 33 short int M = MAX; 26 34 unsigned short int M = MAX; … … 33 41 34 42 // Floating-Point Constants 43 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; 35 57 36 58 float pi = PI; … … 55 77 long double _2_sqrt_pi = _2_SQRT_PI; 56 78 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;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; 63 85 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; 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; 70 99 71 100 float e = E; … … 93 122 long double _1_sqrt_2 = _1_SQRT_2; 94 123 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;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; 102 131 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; 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; 110 147 111 148 int main(int argc, char const *argv[]) {
Note: See TracChangeset
for help on using the changeset viewer.