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 | // math --
|
---|
8 | //
|
---|
9 | // Author : Peter A. Buhr
|
---|
10 | // Created On : Mon Apr 18 23:37:04 2016
|
---|
11 | // Last Modified By : Peter A. Buhr
|
---|
12 | // Last Modified On : Thu Apr 21 07:56:48 2016
|
---|
13 | // Update Count : 38
|
---|
14 | //
|
---|
15 |
|
---|
16 | float cos( float );
|
---|
17 | extern "C" { double cos( double ); }
|
---|
18 | long double cos( long double );
|
---|
19 | float _Complex cos( float _Complex );
|
---|
20 | double _Complex cos( double _Complex );
|
---|
21 | long double _Complex cos( long double _Complex );
|
---|
22 |
|
---|
23 | float cosh( float );
|
---|
24 | extern "C" { double cosh( double ); }
|
---|
25 | long double cosh( long double );
|
---|
26 | float _Complex cosh( float _Complex );
|
---|
27 | double _Complex cosh( double _Complex );
|
---|
28 | long double _Complex cosh( long double _Complex );
|
---|
29 |
|
---|
30 | float acos( float );
|
---|
31 | extern "C" { double acos( double ); }
|
---|
32 | long double acos( long double );
|
---|
33 | float _Complex acos( float _Complex );
|
---|
34 | double _Complex acos( double _Complex );
|
---|
35 | long double _Complex acos( long double _Complex );
|
---|
36 |
|
---|
37 | float acosh( float );
|
---|
38 | extern "C" { double acosh( double ); }
|
---|
39 | long double acosh( long double );
|
---|
40 | float _Complex acosh( float _Complex );
|
---|
41 | double _Complex acosh( double _Complex );
|
---|
42 | long double _Complex acosh( long double _Complex );
|
---|
43 |
|
---|
44 | float sin( float );
|
---|
45 | extern "C" { double sin( double ); }
|
---|
46 | long double sin( long double );
|
---|
47 | float _Complex sin( float _Complex );
|
---|
48 | double _Complex sin( double _Complex );
|
---|
49 | long double _Complex sin( long double _Complex );
|
---|
50 |
|
---|
51 | float sinh( float );
|
---|
52 | extern "C" { double sinh( double ); }
|
---|
53 | long double sinh( long double );
|
---|
54 | float _Complex sinh( float _Complex );
|
---|
55 | double _Complex sinh( double _Complex );
|
---|
56 | long double _Complex sinh( long double _Complex );
|
---|
57 |
|
---|
58 | float asin( float );
|
---|
59 | extern "C" { double asin( double ); }
|
---|
60 | long double asin( long double );
|
---|
61 | float _Complex asin( float _Complex );
|
---|
62 | double _Complex asin( double _Complex );
|
---|
63 | long double _Complex asin( long double _Complex );
|
---|
64 |
|
---|
65 | float asinh( float );
|
---|
66 | extern "C" { double asinh( double ); }
|
---|
67 | long double asinh( long double );
|
---|
68 | float _Complex asinh( float _Complex );
|
---|
69 | double _Complex asinh( double _Complex );
|
---|
70 | long double _Complex asinh( long double _Complex );
|
---|
71 |
|
---|
72 | float tan( float );
|
---|
73 | extern "C" { double tan( double ); }
|
---|
74 | long double tan( long double );
|
---|
75 | float _Complex tan( float _Complex );
|
---|
76 | double _Complex tan( double _Complex );
|
---|
77 | long double _Complex tan( long double _Complex );
|
---|
78 |
|
---|
79 | float tanh( float );
|
---|
80 | extern "C" { double tanh( double ); }
|
---|
81 | long double tanh( long double );
|
---|
82 | float _Complex tanh( float _Complex );
|
---|
83 | double _Complex tanh( double _Complex );
|
---|
84 | long double _Complex tanh( long double _Complex );
|
---|
85 |
|
---|
86 | float atan( float );
|
---|
87 | extern "C" { double atan( double ); }
|
---|
88 | long double atan( long double );
|
---|
89 | float _Complex atan( float _Complex );
|
---|
90 | double _Complex atan( double _Complex );
|
---|
91 | long double _Complex atan( long double _Complex );
|
---|
92 |
|
---|
93 | float _Complex atan( float, float );
|
---|
94 | double atan( double, double );
|
---|
95 | long double atan( long double, long double );
|
---|
96 |
|
---|
97 | float atanh( float );
|
---|
98 | extern "C" { double atanh( double ); }
|
---|
99 | long double atanh( long double );
|
---|
100 | float _Complex atanh( float _Complex );
|
---|
101 | double _Complex atanh( double _Complex );
|
---|
102 | long double _Complex atanh( long double _Complex );
|
---|
103 |
|
---|
104 | float exp( float );
|
---|
105 | extern "C" { double exp( double ); }
|
---|
106 | long double exp( long double );
|
---|
107 | float _Complex exp( float _Complex );
|
---|
108 | double _Complex exp( double _Complex );
|
---|
109 | long double _Complex exp( long double _Complex );
|
---|
110 |
|
---|
111 | float log( float );
|
---|
112 | extern "C" { double log( double ); }
|
---|
113 | long double log( long double );
|
---|
114 | float _Complex log( float _Complex );
|
---|
115 | double _Complex log( double _Complex );
|
---|
116 | long double _Complex log( long double _Complex );
|
---|
117 |
|
---|
118 | float pow( float, float );
|
---|
119 | extern "C" { double pow( double, double ); }
|
---|
120 | long double pow( long double, long double );
|
---|
121 | float _Complex pow( float _Complex, float _Complex );
|
---|
122 | double _Complex pow( double _Complex, double _Complex );
|
---|
123 | long double _Complex pow( long double _Complex, long double _Complex );
|
---|
124 |
|
---|
125 | float sqrt( float );
|
---|
126 | extern "C" { double sqrt( double ); }
|
---|
127 | long double sqrt( long double );
|
---|
128 | float _Complex sqrt( float _Complex );
|
---|
129 | double _Complex sqrt( double _Complex );
|
---|
130 | long double _Complex sqrt( long double _Complex );
|
---|
131 |
|
---|
132 | float fabs( float );
|
---|
133 | extern "C" { double fabs( double ); }
|
---|
134 | long double fabs( long double );
|
---|
135 | float cabs( float _Complex );
|
---|
136 | extern "C" { double cabs( double _Complex ); }
|
---|
137 | long double cabs( long double _Complex );
|
---|
138 |
|
---|
139 | float floor( float );
|
---|
140 | extern "C" { double floor( double ); }
|
---|
141 | long double floor( long double );
|
---|
142 |
|
---|
143 | float ceil( float );
|
---|
144 | extern "C" { double ceil( double ); }
|
---|
145 | long double ceil( long double );
|
---|
146 |
|
---|
147 | //---------------------------------------
|
---|
148 |
|
---|
149 | float cbrt( float );
|
---|
150 | extern "C" { double cbrt( double ); }
|
---|
151 | long double cbrt( long double );
|
---|
152 |
|
---|
153 | float copysign( float, float );
|
---|
154 | extern "C" { double copysign( double, double ); }
|
---|
155 | long double copysign( long double, long double );
|
---|
156 |
|
---|
157 | float erf( float );
|
---|
158 | extern "C" { double erf( double ); }
|
---|
159 | long double erf( long double );
|
---|
160 |
|
---|
161 | float erfc( float );
|
---|
162 | extern "C" { double erfc( double ); }
|
---|
163 | long double erfc( long double );
|
---|
164 |
|
---|
165 | float exp2( float );
|
---|
166 | extern "C" { double exp2( double ); }
|
---|
167 | long double exp2( long double );
|
---|
168 |
|
---|
169 | float expm1( float );
|
---|
170 | extern "C" { double expm1( double ); }
|
---|
171 | long double expm1( long double );
|
---|
172 |
|
---|
173 | float fdim( float, float );
|
---|
174 | extern "C" { double fdim( double, double ); }
|
---|
175 | long double fdim( long double, long double );
|
---|
176 |
|
---|
177 | float fma( float, float, float );
|
---|
178 | extern "C" { double fma( double, double, double ); }
|
---|
179 | long double fma( long double, long double, long double );
|
---|
180 |
|
---|
181 | float ?%?( float, float );
|
---|
182 | float fmod( float, float );
|
---|
183 | double ?%?( double, double );
|
---|
184 | extern "C" { double fmod( double, double ); }
|
---|
185 | long double ?%?( long double, long double );
|
---|
186 | long double fmod( long double, long double );
|
---|
187 |
|
---|
188 | [ int, float ] div( float x );
|
---|
189 | float frexp( float, int * );
|
---|
190 | [ int, double ] div( double x );
|
---|
191 | extern "C" { double frexp( double, int * ); }
|
---|
192 | [ int, long double ] div( long double x );
|
---|
193 | long double frexp( long double, int * );
|
---|
194 |
|
---|
195 | float hypot( float, float );
|
---|
196 | extern "C" { double hypot( double, double ); }
|
---|
197 | long double hypot( long double, long double );
|
---|
198 |
|
---|
199 | int ilogb( float );
|
---|
200 | extern "C" { int ilogb( double ); }
|
---|
201 | int ilogb( long double );
|
---|
202 |
|
---|
203 | float ldexp( float, int );
|
---|
204 | extern "C" { double ldexp( double, int ); }
|
---|
205 | long double ldexp( long double, int );
|
---|
206 |
|
---|
207 | float lgamma( float );
|
---|
208 | extern "C" { double lgamma( double ); }
|
---|
209 | long double lgamma( long double );
|
---|
210 |
|
---|
211 | float rint( float x );
|
---|
212 | long double rint( long double x );
|
---|
213 | long int rint( float x );
|
---|
214 | long int rint( double x );
|
---|
215 | long int rint( long double x );
|
---|
216 | long long int rint( float x );
|
---|
217 | long long int rint( double x );
|
---|
218 | long long int rint( long double x );
|
---|
219 |
|
---|
220 | long int lrint( float );
|
---|
221 | extern "C" { long int lrint( double ); }
|
---|
222 | long int lrint( long double );
|
---|
223 | long long int llrint( float );
|
---|
224 | extern "C" { long long int llrint( double ); }
|
---|
225 | long long int llrint( long double );
|
---|
226 |
|
---|
227 | float round( float x );
|
---|
228 | long double round( long double x );
|
---|
229 | long int round( float x );
|
---|
230 | long int round( double x );
|
---|
231 | long int round( long double x );
|
---|
232 | long long int round( float x );
|
---|
233 | long long int round( double x );
|
---|
234 | long long int round( long double x );
|
---|
235 |
|
---|
236 | long int lround( float );
|
---|
237 | extern "C" { long int lround( double ); }
|
---|
238 | long int lround( long double );
|
---|
239 | long long int llround( float );
|
---|
240 | extern "C" { long long int llround( double ); }
|
---|
241 | long long int llround( long double );
|
---|
242 |
|
---|
243 | float log10( float );
|
---|
244 | extern "C" { double log10( double ); }
|
---|
245 | long double log10( long double );
|
---|
246 |
|
---|
247 | float log1p( float );
|
---|
248 | extern "C" { double log1p( double ); }
|
---|
249 | long double log1p( long double );
|
---|
250 |
|
---|
251 | float log2( float );
|
---|
252 | extern "C" { double log2( double ); }
|
---|
253 | long double log2( long double );
|
---|
254 |
|
---|
255 | float logb( float );
|
---|
256 | extern "C" { double logb( double ); }
|
---|
257 | long double logb( long double );
|
---|
258 |
|
---|
259 | float nearbyint( float );
|
---|
260 | extern "C" { double nearbyint( double ); }
|
---|
261 | long double nearbyint( long double );
|
---|
262 |
|
---|
263 | float nextafter( float, float );
|
---|
264 | extern "C" { double nextafter( double, double ); }
|
---|
265 | long double nextafter( long double, long double );
|
---|
266 |
|
---|
267 | float nexttoward( float, long double );
|
---|
268 | extern "C" { double nexttoward( double, long double ); }
|
---|
269 | long double nexttoward( long double, long double );
|
---|
270 |
|
---|
271 | float remainder( float, float );
|
---|
272 | extern "C" { double remainder( double, double ); }
|
---|
273 | long double remainder( long double, long double );
|
---|
274 |
|
---|
275 | [ int, float ] remquo( float x, float y );
|
---|
276 | float remquo( float, float, int * );
|
---|
277 | [ int, double ] remquo( double x, double y );
|
---|
278 | extern "C" { double remquo( double, double, int * ); }
|
---|
279 | [ int, long double ] remquo( long double x, long double y );
|
---|
280 | long double remquo( long double, long double, int * );
|
---|
281 |
|
---|
282 | float scalbn( float, int );
|
---|
283 | extern "C" { double scalbn( double, int ); }
|
---|
284 | long double scalbn( long double, int );
|
---|
285 |
|
---|
286 | float scalbln( float, long int );
|
---|
287 | extern "C" { double scalbln( double, long int ); }
|
---|
288 | long double scalbln( long double, long int );
|
---|
289 |
|
---|
290 | float tgamma( float );
|
---|
291 | extern "C" { double tgamma( double ); }
|
---|
292 | long double tgamma( long double );
|
---|
293 |
|
---|
294 | float trunc( float );
|
---|
295 | extern "C" { double trunc( double ); }
|
---|
296 | long double trunc( long double );
|
---|
297 |
|
---|
298 | // Local Variables: //
|
---|
299 | // mode: c //
|
---|
300 | // tab-width: 4 //
|
---|
301 | // End: //
|
---|