[53ba273] | 1 | // |
---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2016 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 -- |
---|
| 8 | // |
---|
| 9 | // Author : Peter A. Buhr |
---|
| 10 | // Created On : Wed Apr 6 18:06:52 2016 |
---|
| 11 | // Last Modified By : Peter A. Buhr |
---|
| 12 | // Last Modified On : Wed Apr 6 21:08:16 2016 |
---|
| 13 | // Update Count : 6 |
---|
| 14 | // |
---|
| 15 | |
---|
[d3b7937] | 16 | // Integral Constants |
---|
| 17 | |
---|
[53ba273] | 18 | extern const short int MIN; |
---|
| 19 | extern const int MIN; |
---|
| 20 | extern const long int MIN; |
---|
| 21 | extern const long long int MIN; |
---|
[d3b7937] | 22 | |
---|
[53ba273] | 23 | extern const short int MAX; |
---|
| 24 | extern const unsigned short int MAX; |
---|
| 25 | extern const int MAX; |
---|
| 26 | extern const unsigned int MAX; |
---|
| 27 | extern const long int MAX; |
---|
| 28 | extern const unsigned long int MAX; |
---|
| 29 | extern const long long int MAX; |
---|
| 30 | extern const unsigned long long int MAX; |
---|
[d3b7937] | 31 | |
---|
| 32 | // Floating-Point Constants |
---|
| 33 | |
---|
[53ba273] | 34 | extern const float PI; // pi |
---|
| 35 | extern const float PI_2; // pi / 2 |
---|
| 36 | extern const float PI_4; // pi / 4 |
---|
| 37 | extern const float _1_PI; // 1 / pi |
---|
| 38 | extern const float _2_PI; // 2 / pi |
---|
| 39 | extern const float _2_SQRT_PI; // 2 / sqrt(pi) |
---|
| 40 | |
---|
| 41 | extern const double PI; // pi |
---|
| 42 | extern const double PI_2; // pi / 2 |
---|
| 43 | extern const double PI_4; // pi / 4 |
---|
| 44 | extern const double _1_PI; // 1 / pi |
---|
| 45 | extern const double _2_PI; // 2 / pi |
---|
| 46 | extern const double _2_SQRT_PI; // 2 / sqrt(pi) |
---|
[d3b7937] | 47 | |
---|
[53ba273] | 48 | extern const long double PI; // pi |
---|
| 49 | extern const long double PI_2; // pi / 2 |
---|
| 50 | extern const long double PI_4; // pi / 4 |
---|
| 51 | extern const long double _1_PI; // 1 / pi |
---|
| 52 | extern const long double _2_PI; // 2 / pi |
---|
| 53 | extern const long double _2_SQRT_PI; // 2 / sqrt(pi) |
---|
[d3b7937] | 54 | |
---|
[53ba273] | 55 | extern const _Complex PI; // pi |
---|
| 56 | extern const _Complex PI_2; // pi / 2 |
---|
| 57 | extern const _Complex PI_4; // pi / 4 |
---|
| 58 | extern const _Complex _1_PI; // 1 / pi |
---|
| 59 | extern const _Complex _2_PI; // 2 / pi |
---|
| 60 | extern const _Complex _2_SQRT_PI; // 2 / sqrt(pi) |
---|
[d3b7937] | 61 | |
---|
[53ba273] | 62 | extern const long _Complex PI; // pi |
---|
| 63 | extern const long _Complex PI_2; // pi / 2 |
---|
| 64 | extern const long _Complex PI_4; // pi / 4 |
---|
| 65 | extern const long _Complex _1_PI; // 1 / pi |
---|
| 66 | extern const long _Complex _2_PI; // 2 / pi |
---|
| 67 | extern const long _Complex _2_SQRT_PI; // 2 / sqrt(pi) |
---|
[d3b7937] | 68 | |
---|
[53ba273] | 69 | extern const float E; // e |
---|
| 70 | extern const float LOG2_E; // log_2(e) |
---|
| 71 | extern const float LOG10_E; // log_10(e) |
---|
| 72 | extern const float LN_2; // log_e(2) |
---|
| 73 | extern const float LN_10; // log_e(10) |
---|
| 74 | extern const float SQRT_2; // sqrt(2) |
---|
| 75 | extern const float _1_SQRT_2; // 1 / sqrt(2) |
---|
[d3b7937] | 76 | |
---|
[53ba273] | 77 | extern const double E; // e |
---|
| 78 | extern const double LOG2_E; // log_2(e) |
---|
| 79 | extern const double LOG10_E; // log_10(e) |
---|
| 80 | extern const double LN_2; // log_e(2) |
---|
| 81 | extern const double LN_10; // log_e(10) |
---|
| 82 | extern const double SQRT_2; // sqrt(2) |
---|
| 83 | extern const double _1_SQRT_2; // 1 / sqrt(2) |
---|
[d3b7937] | 84 | |
---|
[53ba273] | 85 | extern const long double E; // e |
---|
| 86 | extern const long double LOG2_E; // log_2(e) |
---|
| 87 | extern const long double LOG10_E; // log_10(e) |
---|
| 88 | extern const long double LN_2; // log_e(2) |
---|
| 89 | extern const long double LN_10; // log_e(10) |
---|
| 90 | extern const long double SQRT_2; // sqrt(2) |
---|
| 91 | extern const long double _1_SQRT_2; // 1/sqrt(2) |
---|
[d3b7937] | 92 | |
---|
[53ba273] | 93 | extern const _Complex E; // e |
---|
| 94 | extern const _Complex LOG2_E; // log_2(e) |
---|
| 95 | extern const _Complex LOG10_E; // log_10(e) |
---|
| 96 | extern const _Complex LN_2; // log_e(2) |
---|
| 97 | extern const _Complex LN_10; // log_e(10) |
---|
| 98 | extern const _Complex SQRT_2; // sqrt(2) |
---|
| 99 | extern const _Complex _1_SQRT_2; // 1 / sqrt(2) |
---|
[d3b7937] | 100 | |
---|
[53ba273] | 101 | extern const long _Complex E; // e |
---|
| 102 | extern const long _Complex LOG2_E; // log_2(e) |
---|
| 103 | extern const long _Complex LOG10_E; // log_10(e) |
---|
| 104 | extern const long _Complex LN_2; // log_e(2) |
---|
| 105 | extern const long _Complex LN_10; // log_e(10) |
---|
| 106 | extern const long _Complex SQRT_2; // sqrt(2) |
---|
| 107 | extern const long _Complex _1_SQRT_2; // 1 / sqrt(2) |
---|
[d3b7937] | 108 | |
---|
[53ba273] | 109 | // Local Variables: // |
---|
| 110 | // mode: c // |
---|
| 111 | // tab-width: 4 // |
---|
| 112 | // End: // |
---|