source: src/libcfa/limits @ c038214

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since c038214 was bb82c03, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Removed #ifdef for CFORALL in libcfa headers

  • Property mode set to 100644
File size: 3.9 KB
Line 
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
16#ifndef LIMITS_H
17#define LIMITS_H
18
19// Integral Constants
20
21extern const short int MIN;
22extern const int MIN;
23extern const long int MIN;
24extern const long long int MIN;
25
26extern const short int MAX;
27extern const unsigned short int MAX;
28extern const int MAX;
29extern const unsigned int MAX;
30extern const long int MAX;
31extern const unsigned long int MAX;
32extern const long long int MAX;
33extern const unsigned long long int MAX;
34
35// Floating-Point Constants
36
37extern const float PI;                                                                  // pi
38extern const float PI_2;                                                                // pi / 2
39extern const float PI_4;                                                                // pi / 4
40extern const float _1_PI;                                                               // 1 / pi
41extern const float _2_PI;                                                               // 2 / pi
42extern const float _2_SQRT_PI;                                                  // 2 / sqrt(pi)
43
44extern const double PI;                                                                 // pi
45extern const double PI_2;                                                               // pi / 2
46extern const double PI_4;                                                               // pi / 4
47extern const double _1_PI;                                                              // 1 / pi
48extern const double _2_PI;                                                              // 2 / pi
49extern const double _2_SQRT_PI;                                                 // 2 / sqrt(pi)
50
51extern const long double PI;                                                    // pi
52extern const long double PI_2;                                                  // pi / 2
53extern const long double PI_4;                                                  // pi / 4
54extern const long double _1_PI;                                                 // 1 / pi
55extern const long double _2_PI;                                                 // 2 / pi
56extern const long double _2_SQRT_PI;                                    // 2 / sqrt(pi)
57
58extern const _Complex PI;                                                               // pi
59extern const _Complex PI_2;                                                             // pi / 2
60extern const _Complex PI_4;                                                             // pi / 4
61extern const _Complex _1_PI;                                                    // 1 / pi
62extern const _Complex _2_PI;                                                    // 2 / pi
63extern const _Complex _2_SQRT_PI;                                               // 2 / sqrt(pi)
64
65extern const long _Complex PI;                                                  // pi
66extern const long _Complex PI_2;                                                // pi / 2
67extern const long _Complex PI_4;                                                // pi / 4
68extern const long _Complex _1_PI;                                               // 1 / pi
69extern const long _Complex _2_PI;                                               // 2 / pi
70extern const long _Complex _2_SQRT_PI;                                  // 2 / sqrt(pi)
71
72extern const float E;                                                                   // e
73extern const float LOG2_E;                                                              // log_2(e)
74extern const float LOG10_E;                                                             // log_10(e)
75extern const float LN_2;                                                                // log_e(2)
76extern const float LN_10;                                                               // log_e(10)
77extern const float SQRT_2;                                                              // sqrt(2)
78extern const float _1_SQRT_2;                                                   // 1 / sqrt(2)
79
80extern const double E;                                                                  // e
81extern const double LOG2_E;                                                             // log_2(e)
82extern const double LOG10_E;                                                    // log_10(e)
83extern const double LN_2;                                                               // log_e(2)
84extern const double LN_10;                                                              // log_e(10)
85extern const double SQRT_2;                                                             // sqrt(2)
86extern const double _1_SQRT_2;                                                  // 1 / sqrt(2)
87
88extern const long double E;                                                             // e
89extern const long double LOG2_E;                                                // log_2(e)
90extern const long double LOG10_E;                                               // log_10(e)
91extern const long double LN_2;                                                  // log_e(2)
92extern const long double LN_10;                                                 // log_e(10)
93extern const long double SQRT_2;                                                // sqrt(2)
94extern const long double _1_SQRT_2;                                             // 1/sqrt(2)
95
96extern const _Complex E;                                                                // e
97extern const _Complex LOG2_E;                                                   // log_2(e)
98extern const _Complex LOG10_E;                                                  // log_10(e)
99extern const _Complex LN_2;                                                             // log_e(2)
100extern const _Complex LN_10;                                                    // log_e(10)
101extern const _Complex SQRT_2;                                                   // sqrt(2)
102extern const _Complex _1_SQRT_2;                                                // 1 / sqrt(2)
103
104extern const long _Complex E;                                                   // e
105extern const long _Complex LOG2_E;                                              // log_2(e)
106extern const long _Complex LOG10_E;                                             // log_10(e)
107extern const long _Complex LN_2;                                                // log_e(2)
108extern const long _Complex LN_10;                                               // log_e(10)
109extern const long _Complex SQRT_2;                                              // sqrt(2)
110extern const long _Complex _1_SQRT_2;                                   // 1 / sqrt(2)
111
112#endif // LIMITS_H
113
114// Local Variables: //
115// mode: c //
116// tab-width: 4 //
117// End: //
Note: See TracBrowser for help on using the repository browser.