source: src/libcfa/limits@ e64365c

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory 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 e64365c was 53ba273, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

switch from std=c99 to std=gnu99, update latex macros, refrat and extend user manual, update limits/iostream/fstream, add rational numbers

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