source: src/libcfa/limits@ 6ae8c92

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since 6ae8c92 was 53a6c2a, checked in by Peter A. Buhr <pabuhr@…>, 8 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
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 : Fri Jul 7 09:33:57 2017
13// Update Count : 7
14//
15
16#pragma once
17
18// Integral Constants
19
20extern const short int MIN;
21extern const int MIN;
22extern const long int MIN;
23extern const long long int MIN;
24
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;
33
34// Floating-Point Constants
35
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)
49
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)
56
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)
63
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)
70
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)
78
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)
86
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)
94
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)
102
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)
110
111// Local Variables: //
112// mode: c //
113// tab-width: 4 //
114// End: //
Note: See TracBrowser for help on using the repository browser.