source: tests/limits.cfa @ dc8511c

aaron-thesisarm-ehcleanup-dtorsdeferred_resnjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexer
Last change on this file since dc8511c was dc8511c, checked in by Peter A. Buhr <pabuhr@…>, 3 years ago

first attempt at updating suffixes for test programs

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