source: src/libcfa/math @ 6e991d6

aaron-thesisarm-ehcleanup-dtorsctordeferred_resndemanglergc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newstringwith_gc
Last change on this file since 6e991d6 was 6e991d6, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

add -fgnu89-inline flag to compile, cleanup swap example I/O, stdlib fixes, start math library

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