equal
deleted
inserted
replaced
|
1 // Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // e32test\math\t_real32.h |
|
15 // Generated by \E32\TMATH\T_GEN32.MAK |
|
16 // |
|
17 // |
|
18 |
|
19 |
|
20 #include <e32std.h> |
|
21 |
|
22 #include "t_vals.h" |
|
23 |
|
24 const TInt32x addArray[] = |
|
25 { |
|
26 TInt32x(0x7f7fffff), |
|
27 TInt32x(0x0), |
|
28 TInt32x(0xff7fffff), |
|
29 TInt32x(0xfeffffff), |
|
30 TInt32x(0x81000000), |
|
31 TInt32x(0x0), |
|
32 TInt32x(0x1000000), |
|
33 TInt32x(0x1400000), |
|
34 TInt32x(0x800000), |
|
35 TInt32x(0x80800000), |
|
36 TInt32x(0x0), |
|
37 TInt32x(0x7f7fffff), |
|
38 TInt32x(0x0), |
|
39 TInt32x(0xff7fffff), |
|
40 TInt32x(0x3f800000), |
|
41 TInt32x(0x403ffb16), |
|
42 TInt32x(0x407ffb16), |
|
43 TInt32x(0x37fc0000), |
|
44 TInt32x(0xc07fff82), |
|
45 TInt32x(0xbffc3e6c), |
|
46 TInt32x(0x3d7064ed), |
|
47 TInt32x(0x7e1f688a), |
|
48 TInt32x(0x7e9f688a), |
|
49 TInt32x(0x7e1f68cf), |
|
50 TInt32x(0x76092f7d), |
|
51 TInt32x(0x0), |
|
52 TInt32x(0xf6092f7d), |
|
53 TInt32x(0xf5892f63), |
|
54 TInt32x(0x0), |
|
55 TInt32x(0xec4cad75), |
|
56 TInt32x(0x3129b2d9), |
|
57 TInt32x(0x30a9b3f9), |
|
58 TInt32x(0x0), |
|
59 TInt32x(0xa9100c44), |
|
60 TInt32x(0x2025098a), |
|
61 TInt32x(0x7e1f688a), |
|
62 TInt32x(0x7e9f688a), |
|
63 TInt32x(0x7e1f688a), |
|
64 TInt32x(0x710c7a5b), |
|
65 TInt32x(0x0), |
|
66 TInt32x(0xf10c7a5b), |
|
67 TInt32x(0xf08c7a5b), |
|
68 TInt32x(0x0), |
|
69 TInt32x(0xe4062333), |
|
70 TInt32x(0x37cf26d2), |
|
71 TInt32x(0x374f26d2), |
|
72 TInt32x(0x2b340f88), |
|
73 TInt32x(0x2ab40f88), |
|
74 TInt32x(0x1cd33f69), |
|
75 }; |
|
76 |
|
77 const TInt32x subArray[] = |
|
78 { |
|
79 TInt32x(0x7f7fffff), |
|
80 TInt32x(0xfeffffff), |
|
81 TInt32x(0x0), |
|
82 TInt32x(0xff7fffff), |
|
83 TInt32x(0x0), |
|
84 TInt32x(0x7f7fffff), |
|
85 TInt32x(0x69845951), |
|
86 TInt32x(0x7f7fffff), |
|
87 TInt32x(0x0), |
|
88 TInt32x(0xff7fffff), |
|
89 TInt32x(0x0), |
|
90 TInt32x(0x1000000), |
|
91 TInt32x(0x0), |
|
92 TInt32x(0x80800000), |
|
93 TInt32x(0x0), |
|
94 TInt32x(0x81000000), |
|
95 TInt32x(0x800000), |
|
96 TInt32x(0x1400000), |
|
97 TInt32x(0x80800000), |
|
98 TInt32x(0xbf800000), |
|
99 TInt32x(0xc0600000), |
|
100 TInt32x(0x40200002), |
|
101 TInt32x(0xb4c00000), |
|
102 TInt32x(0x407ffffe), |
|
103 TInt32x(0x34c00000), |
|
104 TInt32x(0xc001e0ca), |
|
105 TInt32x(0x0), |
|
106 TInt32x(0xfe1f688a), |
|
107 TInt32x(0x0), |
|
108 TInt32x(0x7e1f6845), |
|
109 TInt32x(0x0), |
|
110 TInt32x(0x76092f7d), |
|
111 TInt32x(0x0), |
|
112 TInt32x(0xf589307d), |
|
113 TInt32x(0x6e7fd8d3), |
|
114 TInt32x(0xedffd8d3), |
|
115 TInt32x(0x0), |
|
116 TInt32x(0x30a9b1b9), |
|
117 TInt32x(0x29900c6d), |
|
118 TInt32x(0xa9100c96), |
|
119 TInt32x(0x2025098a), |
|
120 TInt32x(0xfe1f688a), |
|
121 TInt32x(0x0), |
|
122 TInt32x(0x7e1f688a), |
|
123 TInt32x(0x0), |
|
124 TInt32x(0x710c7a5b), |
|
125 TInt32x(0x0), |
|
126 TInt32x(0xf08c7a5b), |
|
127 TInt32x(0x64862333), |
|
128 TInt32x(0xe4062333), |
|
129 TInt32x(0x0), |
|
130 TInt32x(0x374f26d2), |
|
131 TInt32x(0x0), |
|
132 TInt32x(0x2ab40f88), |
|
133 TInt32x(0x1cd33f69), |
|
134 }; |
|
135 |
|
136 const TInt32x multArray[] = |
|
137 { |
|
138 TInt32x(0x3f800000), |
|
139 TInt32x(0x0), |
|
140 TInt32x(0x0), |
|
141 TInt32x(0x0), |
|
142 TInt32x(0x7f7ffffa), |
|
143 TInt32x(0xff7ffffa), |
|
144 TInt32x(0x7f7ffffa), |
|
145 TInt32x(0xbffffffd), |
|
146 TInt32x(0x800000), |
|
147 TInt32x(0x80800000), |
|
148 TInt32x(0x800000), |
|
149 TInt32x(0xa0000000), |
|
150 TInt32x(0x7f7fffff), |
|
151 TInt32x(0x0), |
|
152 TInt32x(0x0), |
|
153 TInt32x(0x800000), |
|
154 TInt32x(0x40900000), |
|
155 TInt32x(0x1900000), |
|
156 TInt32x(0x407fffff), |
|
157 TInt32x(0x7f7fffff), |
|
158 TInt32x(0x3f7ffffb), |
|
159 TInt32x(0xbf7ffffb), |
|
160 TInt32x(0x3f7ffffb), |
|
161 TInt32x(0xbcf064e8), |
|
162 TInt32x(0x3a61bd64), |
|
163 TInt32x(0x5bb54d42), |
|
164 TInt32x(0x7d119c93), |
|
165 TInt32x(0xfd119c93), |
|
166 TInt32x(0x7d119c93), |
|
167 TInt32x(0x5e3f1829), |
|
168 TInt32x(0x3f7ac8b1), |
|
169 TInt32x(0x7c1c30a0), |
|
170 TInt32x(0x412bdf41), |
|
171 TInt32x(0x99855f7f), |
|
172 TInt32x(0x418da1ca), |
|
173 TInt32x(0xdf19d151), |
|
174 TInt32x(0xc0de0cc0), |
|
175 TInt32x(0x17825417), |
|
176 TInt32x(0x7c57171b), |
|
177 TInt32x(0x6bb8c2d9), |
|
178 TInt32x(0x4be040b), |
|
179 TInt32x(0x21302c4c), |
|
180 TInt32x(0x7d49f701), |
|
181 TInt32x(0x55742918), |
|
182 TInt32x(0x5b26ba6), |
|
183 }; |
|
184 |
|
185 const TInt32x divArray[] = |
|
186 { |
|
187 TInt32x(0x0), |
|
188 TInt32x(0x3f800000), |
|
189 TInt32x(0xbf800000), |
|
190 TInt32x(0x3f800000), |
|
191 TInt32x(0xfe7fffff), |
|
192 TInt32x(0x800001), |
|
193 TInt32x(0x0), |
|
194 TInt32x(0xfe800000), |
|
195 TInt32x(0x80800000), |
|
196 TInt32x(0x7e800000), |
|
197 TInt32x(0x3f800000), |
|
198 TInt32x(0xbf800000), |
|
199 TInt32x(0x3f800000), |
|
200 TInt32x(0x0), |
|
201 TInt32x(0x3f800000), |
|
202 TInt32x(0x3f800003), |
|
203 TInt32x(0xbf7ffffb), |
|
204 TInt32x(0x3f800003), |
|
205 TInt32x(0xbf7ffffb), |
|
206 TInt32x(0xbf800000), |
|
207 TInt32x(0xc2084f36), |
|
208 TInt32x(0x3f800000), |
|
209 TInt32x(0x78094f89), |
|
210 TInt32x(0x3f800000), |
|
211 TInt32x(0x84626985), |
|
212 TInt32x(0x3f800000), |
|
213 TInt32x(0x9f0662a4), |
|
214 TInt32x(0x3f800000), |
|
215 TInt32x(0x72fc6f7d), |
|
216 TInt32x(0x3f800000), |
|
217 TInt32x(0xa343c181), |
|
218 TInt32x(0x3f800000), |
|
219 TInt32x(0x29e12e14), |
|
220 TInt32x(0x7b4097ce), |
|
221 TInt32x(0x9abc5661), |
|
222 TInt32x(0x4cbebc20), |
|
223 TInt32x(0xb22bcc77), |
|
224 TInt32x(0x4cbebc20), |
|
225 TInt32x(0x2f2f9fe4), |
|
226 TInt32x(0xd368d4a5), |
|
227 TInt32x(0x38acc869), |
|
228 TInt32x(0x442ab6c), |
|
229 TInt32x(0x7409e492), |
|
230 TInt32x(0x7bdc5bb2), |
|
231 TInt32x(0x1bc5b16e), |
|
232 TInt32x(0x3b9117e), |
|
233 TInt32x(0x5008fe22), |
|
234 TInt32x(0x7b517d6c), |
|
235 }; |
|
236 |
|
237 const TInt32x unaryArray[] = |
|
238 { |
|
239 TInt32x(0x80000000), |
|
240 TInt32x(0xbf800000), |
|
241 TInt32x(0x3f800000), |
|
242 TInt32x(0xff7fffff), |
|
243 TInt32x(0x7f7fffff), |
|
244 TInt32x(0x80800000), |
|
245 TInt32x(0x800000), |
|
246 }; |
|
247 |
|
248 const TInt32x preIncArray1[] = |
|
249 { |
|
250 TInt32x(0x0), |
|
251 TInt32x(0x3f800000), |
|
252 TInt32x(0x40000000), |
|
253 TInt32x(0xc4d0f83f), |
|
254 TInt32x(0x44c9ba46), |
|
255 TInt32x(0x7f7fffff), |
|
256 TInt32x(0xff7fffff), |
|
257 TInt32x(0x3f800000), |
|
258 TInt32x(0x3f800000), |
|
259 TInt32x(0x584ca2e5), |
|
260 TInt32x(0xd84ca2e5), |
|
261 TInt32x(0x3f800000), |
|
262 TInt32x(0x3f800000), |
|
263 TInt32x(0x5b9fdf43), |
|
264 TInt32x(0xdb9fdf43), |
|
265 TInt32x(0x3f800000), |
|
266 TInt32x(0x3f800000), |
|
267 }; |
|
268 |
|
269 const TInt32x preIncArray2[] = |
|
270 { |
|
271 TInt32x(0x3f800000), |
|
272 TInt32x(0x40000000), |
|
273 TInt32x(0x40400000), |
|
274 TInt32x(0xc4d0d83f), |
|
275 TInt32x(0x44c9da46), |
|
276 TInt32x(0x7f7fffff), |
|
277 TInt32x(0xff7fffff), |
|
278 TInt32x(0x40000000), |
|
279 TInt32x(0x40000000), |
|
280 TInt32x(0x584ca2e5), |
|
281 TInt32x(0xd84ca2e5), |
|
282 TInt32x(0x40000000), |
|
283 TInt32x(0x40000000), |
|
284 TInt32x(0x5b9fdf43), |
|
285 TInt32x(0xdb9fdf43), |
|
286 TInt32x(0x40000000), |
|
287 TInt32x(0x40000000), |
|
288 }; |
|
289 |
|
290 const TInt32x preDecArray1[] = |
|
291 { |
|
292 TInt32x(0xc0000000), |
|
293 TInt32x(0xbf800000), |
|
294 TInt32x(0x0), |
|
295 TInt32x(0xc4d1383f), |
|
296 TInt32x(0x44c97a46), |
|
297 TInt32x(0x7f7fffff), |
|
298 TInt32x(0xff7fffff), |
|
299 TInt32x(0xbf800000), |
|
300 TInt32x(0xbf800000), |
|
301 TInt32x(0x584ca2e5), |
|
302 TInt32x(0xd84ca2e5), |
|
303 TInt32x(0xbf800000), |
|
304 TInt32x(0xbf800000), |
|
305 TInt32x(0x5b9fdf43), |
|
306 TInt32x(0xdb9fdf43), |
|
307 TInt32x(0xbf800000), |
|
308 TInt32x(0xbf800000), |
|
309 }; |
|
310 |
|
311 const TInt32x preDecArray2[] = |
|
312 { |
|
313 TInt32x(0xc0400000), |
|
314 TInt32x(0xc0000000), |
|
315 TInt32x(0xbf800000), |
|
316 TInt32x(0xc4d1583f), |
|
317 TInt32x(0x44c95a46), |
|
318 TInt32x(0x7f7fffff), |
|
319 TInt32x(0xff7fffff), |
|
320 TInt32x(0xc0000000), |
|
321 TInt32x(0xc0000000), |
|
322 TInt32x(0x584ca2e5), |
|
323 TInt32x(0xd84ca2e5), |
|
324 TInt32x(0xc0000000), |
|
325 TInt32x(0xc0000000), |
|
326 TInt32x(0x5b9fdf43), |
|
327 TInt32x(0xdb9fdf43), |
|
328 TInt32x(0xc0000000), |
|
329 TInt32x(0xc0000000), |
|
330 }; |
|
331 |
|
332 const TInt32x postIncArray1[] = |
|
333 { |
|
334 TInt32x(0x0), |
|
335 TInt32x(0x3f800000), |
|
336 TInt32x(0x40000000), |
|
337 TInt32x(0xc4d0f83f), |
|
338 TInt32x(0x44c9ba46), |
|
339 TInt32x(0x7f7fffff), |
|
340 TInt32x(0xff7fffff), |
|
341 TInt32x(0x3f800000), |
|
342 TInt32x(0x3f800000), |
|
343 TInt32x(0x584ca2e5), |
|
344 TInt32x(0xd84ca2e5), |
|
345 TInt32x(0x3f800000), |
|
346 TInt32x(0x3f800000), |
|
347 TInt32x(0x5b9fdf43), |
|
348 TInt32x(0xdb9fdf43), |
|
349 TInt32x(0x3f800000), |
|
350 TInt32x(0x3f800000), |
|
351 }; |
|
352 |
|
353 const TInt32x postIncArray2[] = |
|
354 { |
|
355 TInt32x(0x3f800000), |
|
356 TInt32x(0x40000000), |
|
357 TInt32x(0x40400000), |
|
358 TInt32x(0xc4d0d83f), |
|
359 TInt32x(0x44c9da46), |
|
360 TInt32x(0x7f7fffff), |
|
361 TInt32x(0xff7fffff), |
|
362 TInt32x(0x40000000), |
|
363 TInt32x(0x40000000), |
|
364 TInt32x(0x584ca2e5), |
|
365 TInt32x(0xd84ca2e5), |
|
366 TInt32x(0x40000000), |
|
367 TInt32x(0x40000000), |
|
368 TInt32x(0x5b9fdf43), |
|
369 TInt32x(0xdb9fdf43), |
|
370 TInt32x(0x40000000), |
|
371 TInt32x(0x40000000), |
|
372 }; |
|
373 |
|
374 const TInt32x postDecArray1[] = |
|
375 { |
|
376 TInt32x(0xc0000000), |
|
377 TInt32x(0xbf800000), |
|
378 TInt32x(0x0), |
|
379 TInt32x(0xc4d1383f), |
|
380 TInt32x(0x44c97a46), |
|
381 TInt32x(0x7f7fffff), |
|
382 TInt32x(0xff7fffff), |
|
383 TInt32x(0xbf800000), |
|
384 TInt32x(0xbf800000), |
|
385 TInt32x(0x584ca2e5), |
|
386 TInt32x(0xd84ca2e5), |
|
387 TInt32x(0xbf800000), |
|
388 TInt32x(0xbf800000), |
|
389 TInt32x(0x5b9fdf43), |
|
390 TInt32x(0xdb9fdf43), |
|
391 TInt32x(0xbf800000), |
|
392 TInt32x(0xbf800000), |
|
393 }; |
|
394 |
|
395 const TInt32x postDecArray2[] = |
|
396 { |
|
397 TInt32x(0xc0400000), |
|
398 TInt32x(0xc0000000), |
|
399 TInt32x(0xbf800000), |
|
400 TInt32x(0xc4d1583f), |
|
401 TInt32x(0x44c95a46), |
|
402 TInt32x(0x7f7fffff), |
|
403 TInt32x(0xff7fffff), |
|
404 TInt32x(0xc0000000), |
|
405 TInt32x(0xc0000000), |
|
406 TInt32x(0x584ca2e5), |
|
407 TInt32x(0xd84ca2e5), |
|
408 TInt32x(0xc0000000), |
|
409 TInt32x(0xc0000000), |
|
410 TInt32x(0x5b9fdf43), |
|
411 TInt32x(0xdb9fdf43), |
|
412 TInt32x(0xc0000000), |
|
413 TInt32x(0xc0000000), |
|
414 }; |
|
415 |