Blame view

epsilon-master/liba/test/math.c 3.57 KB
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
  // This file tests that each math fuction links.
  #include <math.h>
  
  int test_fpclassifyf(float x) {
    return fpclassify(x);
  }
  int test_isfinitef(float x) {
    return isfinite(x);
  }
  int test_isnormalf(float x) {
    return isnormal(x);
  }
  int test_isnanf(float x) {
    return isnan(x);
  }
  int test_isinff(float x) {
    return isinf(x);
  }
  
  float test_acosf(float x) {
    return acosf(x);
  }
  float test_acoshf(float x) {
    return acoshf(x);
  }
  float test_asinf(float x) {
    return asinf(x);
  }
  float test_asinhf(float x) {
    return asinhf(x);
  }
  float test_atanf(float x) {
    return atanf(x);
  }
  float test_atan2f(float y, float x) {
    return atan2f(y, x);
  }
  float test_atanhf(float x) {
    return atanhf(x);
  }
  float test_ceilf(float x) {
    return ceilf(x);
  }
  float test_copysignf(float x, float y) {
    return copysignf(x, y);
  }
  float test_cosf(float x) {
    return cosf(x);
  }
  float test_coshf(float x) {
    return coshf(x);
  }
  float test_expf(float x) {
    return expf(x);
  }
  float test_expm1f(float x) {
    return expm1f(x);
  }
  float test_fabsf(float x) {
    return fabsf(x);
  }
  float test_floorf(float x) {
    return floorf(x);
  }
  float test_fmodf(float x, float y) {
    return fmodf(x, y);
  }
  float test_lgammaf(float x) {
    return lgammaf(x);
  }
  float test_lgammaf_r(float x, int *signgamp) {
    return lgammaf_r(x, signgamp);
  }
  float test_log1pf(float x) {
    return log1pf(x);
  }
  float test_log10f(float x) {
    return log10f(x);
  }
  float test_logf(float x) {
    return logf(x);
  }
  float test_nanf(const char *s) {
    return nanf(s);
  }
  float test_nearbyintf(float x) {
    return nearbyintf(x);
  }
  float test_powf(float x, float y) {
    return powf(x, y);
  }
  float test_roundf(float x) {
    return roundf(x);
  }
  float test_scalbnf(float x, int n) {
    return scalbnf(x, n);
  }
  float test_sinf(float x) {
    return sinf(x);
  }
  float test_sinhf(float x) {
    return sinhf(x);
  }
  float test_sqrtf(float x) {
    return sqrtf(x);
  }
  float test_tanf(float x) {
    return tanf(x);
  }
  float test_tanhf(float x) {
    return tanhf(x);
  }
  
  int test_fpclassify(double x) {
    return fpclassify(x);
  }
  int test_isfinite(double x) {
    return isfinite(x);
  }
  int test_isnormal(double x) {
    return isnormal(x);
  }
  int test_isnan(double x) {
    return isnan(x);
  }
  int test_isinf(double x) {
    return isinf(x);
  }
  
  double test_acos(double x) {
    return acos(x);
  }
  double test_acosh(double x) {
    return acosh(x);
  }
  double test_asin(double x) {
    return asin(x);
  }
  double test_asinh(double x) {
    return asinh(x);
  }
  double test_atan(double x) {
    return atan(x);
  }
  double test_atanh(double x) {
    return atanh(x);
  }
  double test_ceil(double x) {
    return ceil(x);
  }
  double test_copysign(double x, double y) {
    return copysign(x, y);
  }
  double test_cos(double x) {
    return cos(x);
  }
  double test_cosh(double x) {
    return cosh(x);
  }
  double test_exp(double x) {
    return exp(x);
  }
  double test_expm1(double x) {
    return expm1(x);
  }
  double test_fabs(double x) {
    return fabs(x);
  }
  double test_floor(double x) {
    return floor(x);
  }
  double test_lgamma(double x) {
    return lgamma(x);
  }
  double test_lgamma_r(double x, int *signgamp) {
    return lgamma_r(x, signgamp);
  }
  double test_log1p(double x) {
    return log1p(x);
  }
  double test_log10(double x) {
    return log10(x);
  }
  double test_log(double x) {
    return log(x);
  }
  double test_pow(double x, double y) {
    return pow(x, y);
  }
  double test_round(double x) {
    return round(x);
  }
  double test_scalbn(double x, int n) {
    return scalbn(x, n);
  }
  double test_sin(double x) {
    return sin(x);
  }
  double test_sinh(double x) {
    return sinh(x);
  }
  double test_sqrt(double x) {
    return sqrt(x);
  }
  double test_tan(double x) {
    return tan(x);
  }
  double test_tanh(double x) {
    return tanh(x);
  }