1# XXX ltrace misses long double and long long support
2typedef ldouble = double;
3typedef llong = long;
4
5# This should generally work, I'm not aware of any arch, where the
6# parameter passing of complex arguments differs from that for
7# structure of two floats.
8typedef double_complex = struct(double, double);
9typedef float_complex = struct(float, float);
10typedef ldouble_complex = struct(ldouble, ldouble);
11
12double sin(double);
13float sinf(float);
14ldouble sinl(ldouble);
15
16double cos(double);
17float cosf(float);
18ldouble cosl(ldouble);
19
20void sincos(double, +double*, double*);
21void sincosf(float, +float*, float*);
22void sincosl(ldouble, +ldouble*, ldouble*);
23
24double tan(double);
25float tanf(float);
26ldouble tanl(ldouble);
27
28double asin(double);
29float asinf(float);
30ldouble asinl(ldouble);
31
32double acos(double);
33float acosf(float);
34ldouble acosl(ldouble);
35
36double atan(double);
37float atanf(float);
38ldouble atanl(ldouble);
39
40double atan2(double, double);
41float atan2f(float, float);
42ldouble atan2l(ldouble, ldouble);
43
44double sinh(double);
45float sinhf(float);
46ldouble sinhl(ldouble);
47
48double cosh(double);
49float coshf(float);
50ldouble coshl(ldouble);
51
52double tanh(double);
53float tanhf(float);
54ldouble tanhl(ldouble);
55
56double asinh(double);
57float asinhf(float);
58ldouble asinhl(ldouble);
59
60double acosh(double);
61float acoshf(float);
62ldouble acoshl(ldouble);
63
64double atanh(double);
65float atanhf(float);
66ldouble atanhl(ldouble);
67
68double_complex csin(double_complex);
69float_complex csinf(float_complex);
70ldouble_complex csinl(ldouble_complex);
71
72double_complex ccos(double_complex);
73float_complex ccosf(float_complex);
74ldouble_complex ccosl(ldouble_complex);
75
76double_complex ctan(double_complex);
77float_complex ctanf(float_complex);
78ldouble_complex ctanl(ldouble_complex);
79
80double_complex casin(double_complex);
81float_complex casinf(float_complex);
82ldouble_complex casinl(ldouble_complex);
83
84double_complex cacos(double_complex);
85float_complex cacosf(float_complex);
86ldouble_complex cacosl(ldouble_complex);
87
88double_complex catan(double_complex);
89float_complex catanf(float_complex);
90ldouble_complex catanl(ldouble_complex);
91
92double_complex csinh(double_complex);
93float_complex csinhf(float_complex);
94ldouble_complex csinhl(ldouble_complex);
95
96double_complex ccosh(double_complex);
97float_complex ccoshf(float_complex);
98ldouble_complex ccoshl(ldouble_complex);
99
100double_complex ctanh(double_complex);
101float_complex ctanhf(float_complex);
102ldouble_complex ctanhl(ldouble_complex);
103
104double_complex casinh(double_complex);
105float_complex casinhf(float_complex);
106ldouble_complex casinhl(ldouble_complex);
107
108double_complex cacosh(double_complex);
109float_complex cacoshf(float_complex);
110ldouble_complex cacoshl(ldouble_complex);
111
112double_complex catanh(double_complex);
113float_complex catanhf(float_complex);
114ldouble_complex catanhl(ldouble_complex);
115
116double creal(double_complex);
117float crealf(float_complex);
118ldouble creall(ldouble_complex);
119
120double cimag(double_complex);
121float cimagf(float_complex);
122ldouble cimagl(ldouble_complex);
123
124double round(double);
125float roundf(float);
126ldouble roundl(ldouble);
127
128long lround(double);
129long lroundf(float);
130long lroundl(ldouble);
131
132llong llround(double);
133llong llroundf(float);
134llong llroundl(ldouble);
135
136double trunc(double);
137float truncf(float);
138ldouble truncl(ldouble);
139
140double floor(double);
141float floorf(float);
142ldouble floorl(ldouble);
143
144double ceil(double);
145float ceilf(float);
146ldouble ceill(ldouble);
147
148double pow(double, double);
149float powf(float, float);
150ldouble powl(ldouble, ldouble);
151
152double_complex cpow(double_complex, double_complex);
153float_complex cpowf(float_complex, float_complex);
154ldouble_complex cpowl(ldouble_complex, ldouble_complex);
155
156double pow10(double);
157float pow10f(float);
158ldouble pow10l(ldouble);
159
160double sqrt(double);
161float sqrtf(float);
162ldouble sqrtl(ldouble);
163
164double_complex csqrt(double_complex);
165float_complex csqrtf(float_complex);
166ldouble_complex csqrtl(ldouble_complex);
167
168double cbrt(double);
169float cbrtf(float);
170ldouble cbrtl(ldouble);
171
172double log(double);
173float logf(float);
174ldouble logl(ldouble);
175
176double log10(double);
177float log10f(float);
178ldouble log10l(ldouble);
179
180double log2(double);
181float log2f(float);
182ldouble log2l(ldouble);
183
184double logb(double);
185float logbf(float);
186ldouble logbl(ldouble);
187
188int ilogb(double);
189int ilogbf(float);
190int ilogbl(ldouble);
191
192double log1p(double);
193float log1pf(float);
194ldouble log1pl(ldouble);
195
196double_complex clog(double_complex);
197float_complex clogf(float_complex);
198ldouble_complex clogl(ldouble_complex);
199
200double_complex clog10(double_complex);
201float_complex clog10f(float_complex);
202ldouble_complex clog10l(ldouble_complex);
203
204double gamma(double);
205float gammaf(float);
206ldouble gammal(ldouble);
207
208double lgamma(double);
209float lgammaf(float);
210ldouble lgammal(ldouble);
211
212double lgamma_r(double, +int*);
213float lgammaf_r(float, +int*);
214ldouble lgammal_r(ldouble, +int*);
215
216double tgamma(double);
217float tgammaf(float);
218ldouble tgammal(ldouble);
219
220double j0(double);
221float j0f(float);
222ldouble j0l(ldouble);
223
224double j1(double);
225float j1f(float);
226ldouble j1l(ldouble);
227
228double jn(int, double);
229float jnf(int, float);
230ldouble jnl(int, ldouble);
231
232double y0(double);
233float y0f(float);
234ldouble y0l(ldouble);
235
236double y1(double);
237float y1f(float);
238ldouble y1l(ldouble);
239
240double yn(int, double);
241float ynf(int, float);
242ldouble ynl(int, ldouble);
243
244double fdim(double, double);
245float fdimf(float, float);
246ldouble fdiml(ldouble, ldouble);
247
248double remainder(double, double);
249float remainderf(float, float);
250ldouble remainderl(ldouble, ldouble);
251
252double drem(double, double);
253float dremf(float, float);
254ldouble dreml(ldouble, ldouble);
255
256double nearbyint(double);
257float nearbyintf(float);
258ldouble nearbyintl(ldouble);
259
260double rint(double);
261float rintf(float);
262ldouble rintl(ldouble);
263
264long lrint(double);
265long lrintf(float);
266long lrintl(ldouble);
267
268llong llrint(double);
269llong llrintf(float);
270llong llrintl(ldouble);
271
272double exp(double);
273float expf(float);
274ldouble expl(ldouble);
275
276double exp10(double);
277float exp10f(float);
278ldouble exp10l(ldouble);
279
280double exp2(double);
281float exp2f(float);
282ldouble exp2l(ldouble);
283
284double expm1(double);
285float expm1f(float);
286ldouble expm1l(ldouble);
287
288double frexp(double, +int *);
289float frexpf(float, +int *);
290ldouble frexpl(ldouble, +int *);
291
292double ldexp(double, int);
293float ldexpf(float, int);
294ldouble ldexpl(ldouble, int);
295
296double_complex cexp(double_complex);
297float_complex cexpf(float_complex);
298ldouble_complex cexpl(ldouble_complex);
299
300double significand(double);
301float significandf(float);
302ldouble significandl(ldouble);
303
304int finite(double);
305int finitef(float);
306int finitel(ldouble);
307
308int isinf(double);
309int isinff(float);
310int isinfl(ldouble);
311
312int isnan(double);
313int isnanf(float);
314int isnanl(ldouble);
315
316double nan(string);
317float nanf(string);
318ldouble nanl(string);
319
320double fabs(double);
321float fabsf(float);
322ldouble fabsl(ldouble);
323
324double cabs(double_complex);
325float cabsf(float_complex);
326ldouble cabsl(ldouble_complex);
327
328double modf(double, +double *);
329float modff(float, +float *);
330ldouble modfl(ldouble, +ldouble *);
331
332double fmod(double, double);
333float fmodf(float, float);
334ldouble fmodl(ldouble, ldouble);
335
336double remquo(double, double, +int *);
337float remquof(float, float, +int *);
338ldouble remquol(ldouble, ldouble, +int *);
339
340double erf(double);
341float erff(float);
342ldouble erfl(ldouble);
343
344double erfc(double);
345float erfcf(float);
346ldouble erfcl(ldouble);
347
348double fmax(double, double);
349float fmaxf(float, float);
350ldouble fmaxl(ldouble, ldouble);
351
352double fmin(double, double);
353float fminf(float, float);
354ldouble fminl(ldouble, ldouble);
355
356double carg(double_complex);
357float cargf(float_complex);
358ldouble cargl(ldouble_complex);
359
360double hypot(double, double);
361float hypotf(float, float);
362ldouble hypotl(ldouble, ldouble);
363
364double scalb(double, double);
365float scalbf(float, double);
366ldouble scalbl(ldouble, double);
367
368double scalbn(double, int);
369float scalbnf(float, int);
370ldouble scalbnl(ldouble, int);
371
372double scalbln(double, long);
373float scalblnf(float, long);
374ldouble scalblnl(ldouble, long);
375
376double fma(double, double, double);
377float fmaf(float, float, float);
378ldouble fmal(ldouble, ldouble, ldouble);
379
380double_complex cproj(double_complex);
381float_complex cprojf(float_complex);
382ldouble_complex cprojl(ldouble_complex);
383
384double copysign(double, double);
385float copysignf(float, float);
386ldouble copysignl(ldouble, ldouble);
387
388double nextafter(double, double);
389float nextafterf(float, float);
390ldouble nextafterl(ldouble, ldouble);
391
392double nexttoward(double, ldouble);
393float nexttowardf(float, ldouble);
394ldouble nexttowardl(ldouble, ldouble);
395
396double_complex conj(double_complex);
397float_complex conjf(float_complex);
398ldouble_complex conjl(ldouble_complex);
399
400;    15: 000000000003c000     15 FUNC    GLOBAL DEFAULT       13 __finitel@@GLIBC_2.2.5
401;    44: 0000000000027be0    286 FUNC    GLOBAL DEFAULT       13 __clog10@@GLIBC_2.2.5
402;    50: 00000000000068d0     85 FUNC    GLOBAL DEFAULT       13 feholdexcept@@GLIBC_2.2.5
403;    56: 0000000000028900     10 FUNC    GLOBAL DEFAULT       13 __signbit@@GLIBC_2.2.5
404;    61: 0000000000006ae0     53 FUNC    GLOBAL DEFAULT       13 feenableexcept@@GLIBC_2.2.5
405;    65: 0000000000006760     29 FUNC    GLOBAL DEFAULT       13 fegetexceptflag@@GLIBC_2.2.5
406;    68: 0000000000006a60     52 FUNC    GLOBAL DEFAULT       13 feupdateenv@@GLIBC_2.2.5
407;    75: 0000000000006840     25 FUNC    GLOBAL DEFAULT       13 fetestexcept@@GLIBC_2.2.5
408;    89: 0000000000025500     80 FUNC    GLOBAL DEFAULT       13 __fpclassify@@GLIBC_2.2.5
409;    99: 0000000000033370    310 FUNC    GLOBAL DEFAULT       13 __clog10f@@GLIBC_2.2.5
410;   104: 000000000003b600    307 FUNC    GLOBAL DEFAULT       13 __clog10l@@GLIBC_2.2.5
411;   127: 0000000000028560     29 FUNC    GLOBAL DEFAULT       13 __finite@@GLIBC_2.2.5
412;   134: 0000000000006870     66 FUNC    GLOBAL DEFAULT       13 fesetround@@GLIBC_2.2.5
413;   136: 0000000000006780     99 FUNC    GLOBAL DEFAULT       13 feraiseexcept@@GLIBC_2.2.5
414;   146: 0000000000006aa0     49 FUNC    GLOBAL DEFAULT       13 fedisableexcept@@GLIBC_2.2.5
415;   155: 0000000000006730     40 FUNC    GLOBAL DEFAULT       13 feclearexcept@@GLIBC_2.2.5
416;   175: 0000000000006860     14 FUNC    GLOBAL DEFAULT       13 fegetround@@GLIBC_2.2.5
417;   199: 0000000000006b20     16 FUNC    GLOBAL DEFAULT       13 fegetexcept@@GLIBC_2.2.5
418;   213: 00000000000067f0     71 FUNC    GLOBAL DEFAULT       13 fesetexceptflag@@GLIBC_2.2.5
419;   229: 00000000000068c0      9 FUNC    GLOBAL DEFAULT       13 fegetenv@@GLIBC_2.2.5
420;   249: 0000000000006930    303 FUNC    GLOBAL DEFAULT       13 fesetenv@@GLIBC_2.2.5
421;   256: 00000000000308c0     56 FUNC    GLOBAL DEFAULT       13 __fpclassifyf@@GLIBC_2.2.5
422;   261: 0000000000039020     94 FUNC    GLOBAL DEFAULT       13 __fpclassifyl@@GLIBC_2.2.5
423;   263: 0000000000033a80      8 FUNC    GLOBAL DEFAULT       13 __signbitf@@GLIBC_2.2.5
424;   267: 000000000003c2f0     29 FUNC    GLOBAL DEFAULT       13 __signbitl@@GLIBC_2.2.5
425;   318: 0000000000006720      3 FUNC    WEAK   DEFAULT       13 matherr@@GLIBC_2.2.5
426;   328: 00000000000337f0     18 FUNC    GLOBAL DEFAULT       13 __finitef@@GLIBC_2.2.5
427