source: src/libcfa/limits @ c2b9f21

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 c2b9f21 was 53a6c2a, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago

change meaning of sepOn, and replace #if with #pragma once in include files

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