Update contrib.
1 // Copyright (c) 1997-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32test\math\trealxd1.cpp
15 // TREALXD1.CPP - Test data for TRealX
22 const STwoOpTest BinaryOpNaNTests[] =
25 SRealX(0xffff0000,0xc0000000,0x00000000), SRealX(0x00000000,0x00000000,0x00000000),
26 SRealX(0xffff0000,0xc0000000,0x00000000), KErrArgument
29 SRealX(0xffff0000,0xc0000000,0x00000000), SRealX(0x7fff0000,0xb504f333,0xf9de6484),
30 SRealX(0xffff0000,0xc0000000,0x00000000), KErrArgument
33 SRealX(0xffff0000,0xc0000000,0x00000000), SRealX(0xffff0000,0x80000000,0x00000000),
34 SRealX(0xffff0000,0xc0000000,0x00000000), KErrArgument
37 SRealX(0xffff0000,0xadf85458,0xa2bb4a9a), SRealX(0x00000000,0x00000000,0x00000000),
38 SRealX(0xffff0000,0xedf85458,0xa2bb4a9a), KErrArgument
41 SRealX(0xffff0000,0xadf85458,0xa2bb4a9a), SRealX(0x7fff0000,0x80000000,0x00000000),
42 SRealX(0xffff0000,0xedf85458,0xa2bb4a9a), KErrArgument
45 SRealX(0xffff0000,0xadf85458,0xa2bb4a9a), SRealX(0xffff0000,0x80000000,0x00000000),
46 SRealX(0xffff0000,0xedf85458,0xa2bb4a9a), KErrArgument
49 SRealX(0xffff0000,0xddb3d742,0xc265539e), SRealX(0x00000000,0x00000000,0x00000000),
50 SRealX(0xffff0000,0xddb3d742,0xc265539e), KErrArgument
53 SRealX(0xffff0000,0xddb3d742,0xc265539e), SRealX(0x7fff0000,0x80000000,0x00000000),
54 SRealX(0xffff0000,0xddb3d742,0xc265539e), KErrArgument
57 SRealX(0xffff0000,0xddb3d742,0xc265539e), SRealX(0xffff0000,0x80000000,0x00000000),
58 SRealX(0xffff0000,0xddb3d742,0xc265539e), KErrArgument
61 SRealX(0xffff0000,0xddb3d742,0xc265539e), SRealX(0xffff0000,0xc0000000,0x00000000),
62 SRealX(0xffff0000,0xddb3d742,0xc265539e), KErrArgument
65 SRealX(0xffff0000,0xddb3d742,0xc265539e), SRealX(0xffff0000,0xddb3d742,0xc265539f),
66 SRealX(0xffff0000,0xddb3d742,0xc265539f), KErrArgument
69 SRealX(0xffff0000,0xadf85458,0xa2bb4a9a), SRealX(0xffff0000,0x80000000,0x00000001),
70 SRealX(0xffff0000,0xedf85458,0xa2bb4a9a), KErrArgument
73 SRealX(0xffff0000,0xadf85458,0xa2bb4a9a), SRealX(0xffff0000,0xadf85458,0xa2bb4a9b),
74 SRealX(0xffff0000,0xedf85458,0xa2bb4a9b), KErrArgument
77 SRealX(0xffff0000,0x80000000,0x00000001), SRealX(0xffff0000,0x80000000,0x00000002),
78 SRealX(0xffff0000,0xc0000000,0x00000002), KErrArgument
81 SRealX(0xffff0000,0xadf85458,0xa2bb4a9a), SRealX(0xffff0000,0xddb3d742,0xc265539e),
82 SRealX(0xffff0000,0xddb3d742,0xc265539e), KErrArgument
86 const STwoOpTest AdditionTests[] =
89 SRealX(0x00300000,0x80000000,0x00000000), SRealX(0x00300001,0x80000000,0x00008000),
90 SRealX(0x00000001,0x00000000,0x00000000), KErrUnderflow
93 SRealX(0x00000000,0x00000000,0x00000000), SRealX(0x00000000,0x00000000,0x00000000),
94 SRealX(0x00000000,0x00000000,0x00000000), KErrNone
97 SRealX(0x00000001,0x00000000,0x00000000), SRealX(0x00000001,0x00000000,0x00000000),
98 SRealX(0x00000001,0x00000000,0x00000000), KErrNone
101 SRealX(0x00000000,0x00000000,0x00000000), SRealX(0x7fff0000,0xb504f333,0xf9de6484),
102 SRealX(0x7fff0000,0xb504f333,0xf9de6484), KErrNone
105 SRealX(0x00000001,0x00000000,0x00000000), SRealX(0x7fff0000,0xb504f333,0xf9de6484),
106 SRealX(0x7fff0000,0xb504f333,0xf9de6484), KErrNone
109 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000000),
110 SRealX(0x80000000,0x80000000,0x00000000), KErrNone
113 SRealX(0x80000000,0x80000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000000),
114 SRealX(0x80000000,0xc0000000,0x00000000), KErrNone
117 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fdf0000,0xb504f333,0xf9de6484),
118 SRealX(0x7fff0200,0x80000000,0xb504f334), KErrNone
121 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fdb0000,0xb504f333,0xf9de6484),
122 SRealX(0x7fff0100,0x80000000,0x0b504f33), KErrNone
125 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fe30000,0xb504f333,0xf9de6484),
126 SRealX(0x7fff0200,0x8000000b,0x504f3340), KErrNone
129 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fef0000,0xb504f333,0xf9de6484),
130 SRealX(0x7fff0100,0x8000b504,0xf333f9de), KErrNone
133 SRealX(0x7fff0000,0xb504f333,0xf9de0000), SRealX(0x7fef0000,0x80000001,0x64840000),
134 SRealX(0x7fff0000,0xb5057333,0xf9df6484), KErrNone
137 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fc00000,0x80000000,0x00000000),
138 SRealX(0x7fff0000,0x80000000,0x00000001), KErrNone
141 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fbf0000,0x80000000,0x00000000),
142 SRealX(0x7fff0100,0x80000000,0x00000000), KErrNone
145 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fbf0000,0x80000000,0x00000001),
146 SRealX(0x7fff0200,0x80000000,0x00000001), KErrNone
149 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fc00000,0xc0000000,0x00000000),
150 SRealX(0x7fff0200,0x80000000,0x00000002), KErrNone
153 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fc00000,0xbfffffff,0xffffffff),
154 SRealX(0x7fff0100,0x80000000,0x00000001), KErrNone
157 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fbe0000,0xffffffff,0xffffffff),
158 SRealX(0x7fff0100,0x80000000,0x00000000), KErrNone
161 SRealX(0x7fff0001,0x80000000,0x00000000), SRealX(0x7fbe0000,0xffffffff,0xffffffff),
162 SRealX(0x7fff0201,0x80000000,0x00000000), KErrNone
165 SRealX(0x7fff0001,0x80000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000000),
166 SRealX(0x00000000,0x00000000,0x00000000), KErrNone
169 SRealX(0x7fff0001,0x80000000,0x00000000), SRealX(0x80050000,0xc8000000,0x00000000),
170 SRealX(0x80050000,0xc6000000,0x00000000), KErrNone
173 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fff0001,0x8d04f333,0xf9de6484),
174 SRealX(0x7ffb0001,0xd04f333f,0x9de64840), KErrNone
177 SRealX(0x7fff0001,0x80000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x80000000),
178 SRealX(0x7fdf0000,0x80000000,0x00000000), KErrNone
181 SRealX(0x7fff0001,0x80000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000001),
182 SRealX(0x7fc00000,0x80000000,0x00000000), KErrNone
185 SRealX(0x00300001,0x80000000,0x00000000), SRealX(0x00300000,0x80000000,0x00000000),
186 SRealX(0x00000000,0x00000000,0x00000000), KErrNone
189 SRealX(0x00200001,0x80000000,0x00000000), SRealX(0x00200000,0x80000000,0x00000000),
190 SRealX(0x00000000,0x00000000,0x00000000), KErrNone
193 SRealX(0x00100001,0x80000000,0x00000000), SRealX(0x00100000,0x80000000,0x00000000),
194 SRealX(0x00000000,0x00000000,0x00000000), KErrNone
197 SRealX(0x00300001,0x80000000,0x00000000), SRealX(0x00300000,0x80000000,0x80000000),
198 SRealX(0x00100000,0x80000000,0x00000000), KErrNone
201 SRealX(0x00300001,0x80000000,0x00000000), SRealX(0x00300000,0x80000000,0x00010000),
202 SRealX(0x00010000,0x80000000,0x00000000), KErrNone
205 SRealX(0x00300001,0x80000000,0x00000000), SRealX(0x00300000,0x80000000,0x00008000),
206 SRealX(0x00000000,0x00000000,0x00000000), KErrUnderflow
209 SRealX(0xfffe0000,0x80000000,0x00000000), SRealX(0xfffe0000,0x80000000,0x00000000),
210 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
213 SRealX(0xfffe0000,0xb504f333,0xf9de6484), SRealX(0xfffe0000,0xddb3d742,0xc265539e),
214 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
217 SRealX(0xfffe0000,0x80000000,0x00000000), SRealX(0xfffd0000,0xffffffff,0xf0000000),
218 SRealX(0xfffe0000,0xffffffff,0xf8000000), KErrNone
221 SRealX(0xfffe0000,0x80000000,0x00000000), SRealX(0xfffd0000,0xffffffff,0xfffffffe),
222 SRealX(0xfffe0000,0xffffffff,0xffffffff), KErrNone
225 SRealX(0xfffe0000,0x80000000,0x00000000), SRealX(0xfffd0000,0xffffffff,0xffffffff),
226 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
229 SRealX(0xfffe0000,0xf0000000,0x00000000), SRealX(0xfffa0000,0xffffffff,0xfffffff0),
230 SRealX(0xfffe0000,0xffffffff,0xffffffff), KErrNone
233 SRealX(0xfffe0000,0xf0000000,0x00000000), SRealX(0xfffa0000,0xffffffff,0xfffffff7),
234 SRealX(0xfffe0100,0xffffffff,0xffffffff), KErrNone
237 SRealX(0xfffe0000,0xf0000000,0x00000000), SRealX(0xfffa0000,0xffffffff,0xfffffff8),
238 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
241 SRealX(0xfffe0001,0xf0000000,0x00000000), SRealX(0xfffa0001,0xffffffff,0xfffffff0),
242 SRealX(0xfffe0001,0xffffffff,0xffffffff), KErrNone
245 SRealX(0xfffe0001,0xf0000000,0x00000000), SRealX(0xfffa0001,0xffffffff,0xfffffff7),
246 SRealX(0xfffe0101,0xffffffff,0xffffffff), KErrNone
249 SRealX(0xfffe0001,0xf0000000,0x00000000), SRealX(0xfffa0001,0xffffffff,0xfffffff8),
250 SRealX(0xffff0001,0x80000000,0x00000000), KErrOverflow
253 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0xfffe0001,0xffffffff,0xffffffff),
254 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
257 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000000),
258 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
261 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0xffff0000,0x80000000,0x00000000),
262 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
265 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0xfffe0000,0xffffffff,0xffffffff),
266 SRealX(0xffff0001,0x80000000,0x00000000), KErrOverflow
269 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000000),
270 SRealX(0xffff0001,0x80000000,0x00000000), KErrOverflow
273 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0xffff0001,0x80000000,0x00000000),
274 SRealX(0xffff0001,0x80000000,0x00000000), KErrOverflow
277 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0xffff0001,0x80000000,0x00000000),
278 SRealX(0xffff0001,0xc0000000,0x00000000), KErrArgument
282 const STwoOpTest MultiplicationTests[] =
285 SRealX(0x00000000,0x00000000,0x00000000), SRealX(0x00000000,0x00000000,0x00000000),
286 SRealX(0x00000000,0x00000000,0x00000000), KErrNone
289 SRealX(0x00000000,0x00000000,0x00000000), SRealX(0x00000001,0x00000000,0x00000000),
290 SRealX(0x00000001,0x00000000,0x00000000), KErrNone
293 SRealX(0x00000001,0x00000000,0x00000000), SRealX(0x00000001,0x00000000,0x00000000),
294 SRealX(0x00000000,0x00000000,0x00000000), KErrNone
297 SRealX(0x7fff0000,0xb504f333,0xf9de6484), SRealX(0x00000001,0x00000000,0x00000000),
298 SRealX(0x00000001,0x00000000,0x00000000), KErrNone
301 SRealX(0x7fff0001,0xb504f333,0xf9de6484), SRealX(0x00000001,0x00000000,0x00000000),
302 SRealX(0x00000000,0x00000000,0x00000000), KErrNone
305 SRealX(0x7fff0000,0xb504f333,0xf9de6484), SRealX(0x7fff0000,0xb504f333,0xf9de6484),
306 SRealX(0x7fff0100,0xffffffff,0xffffffff), KErrNone
309 SRealX(0x7fff0000,0xffffffff,0x00000000), SRealX(0x7fff0000,0xffffffff,0x00000000),
310 SRealX(0x80000000,0xfffffffe,0x00000001), KErrNone
313 SRealX(0x7fff0000,0xffffffff,0xf0000000), SRealX(0x7fff0000,0xffffffff,0xf0000000),
314 SRealX(0x80000100,0xffffffff,0xe0000000), KErrNone
317 SRealX(0x7fff0000,0xcccccccc,0xcccccccd), SRealX(0x7fff0000,0xcccccccc,0xcccccccd),
318 SRealX(0x80000200,0xa3d70a3d,0x70a3d70b), KErrNone
321 SRealX(0x7ffe0000,0xcccccccc,0xcccccccd), SRealX(0x80010000,0xa0000000,0x00000000),
322 SRealX(0x80010100,0x80000000,0x00000000), KErrNone
325 SRealX(0x80000000,0xadf85458,0xa2bb4a9a), SRealX(0x7ffd0000,0xbc5ab1b1,0x6779be36),
326 SRealX(0x7fff0200,0x80000000,0x00000000), KErrNone
329 SRealX(0x80000001,0xadf85458,0xa2bb4a9a), SRealX(0x7ffd0000,0xbc5ab1b1,0x6779be36),
330 SRealX(0x7fff0201,0x80000000,0x00000000), KErrNone
333 SRealX(0x80000001,0xadf85458,0xa2bb4a9a), SRealX(0x7ffd0001,0xbc5ab1b1,0x6779be36),
334 SRealX(0x7fff0200,0x80000000,0x00000000), KErrNone
337 SRealX(0x80000000,0xadf85458,0xa2bb4a9a), SRealX(0x80000000,0xc90fdaa2,0x2168c235),
338 SRealX(0x80020200,0x88a2c05a,0x2ea3a4f3), KErrNone
341 SRealX(0x7fff0000,0xc0000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000002),
342 SRealX(0x7fff0000,0xc0000000,0x00000003), KErrNone
345 SRealX(0x7fff0000,0xc0000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000001),
346 SRealX(0x7fff0200,0xc0000000,0x00000002), KErrNone
349 SRealX(0x7fff0000,0xa0000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000004),
350 SRealX(0x7fff0000,0xa0000000,0x00000005), KErrNone
353 SRealX(0x7fff0000,0xa0000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000002),
354 SRealX(0x7fff0100,0xa0000000,0x00000002), KErrNone
357 SRealX(0x65630000,0xb504f333,0xf9de6485), SRealX(0x1a9c0000,0xb504f333,0xf9de6485),
358 SRealX(0x00010200,0x80000000,0x00000001), KErrNone
361 SRealX(0x65630000,0xb504f333,0xf9de6484), SRealX(0x1a9c0000,0xb504f333,0xf9de6484),
362 SRealX(0x00000000,0x00000000,0x00000000), KErrUnderflow
365 SRealX(0x65630000,0xb504f333,0xf9de6484), SRealX(0x1a9b0000,0xc90fdaa2,0x2168c235),
366 SRealX(0x00000000,0x00000000,0x00000000), KErrUnderflow
369 SRealX(0x00010000,0xb504f333,0xf9de6484), SRealX(0x00010000,0xc90fdaa2,0x2168c235),
370 SRealX(0x00000000,0x00000000,0x00000000), KErrUnderflow
373 SRealX(0xaf6a0000,0xb504f333,0xf9de6484), SRealX(0xd0930000,0xb504f333,0xf9de6484),
374 SRealX(0xfffe0100,0xffffffff,0xffffffff), KErrNone
377 SRealX(0xaf6a0000,0xb504f333,0xf9de6485), SRealX(0xd0930000,0xb504f333,0xf9de6485),
378 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
381 SRealX(0xaf6a0000,0xb504f333,0xf9de6484), SRealX(0xd0940000,0xc90fdaa2,0x2168c235),
382 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
385 SRealX(0xfffe0000,0xb504f333,0xf9de6484), SRealX(0xfffd0000,0xc90fdaa2,0x2168c235),
386 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
389 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0xffff0000,0x80000000,0x00000000),
390 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
393 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0xffff0000,0x80000000,0x00000000),
394 SRealX(0xffff0001,0x80000000,0x00000000), KErrOverflow
397 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0xffff0001,0x80000000,0x00000000),
398 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
401 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0x00010000,0x80000000,0x00000000),
402 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
405 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0x00000000,0x00000000,0x00000000),
406 SRealX(0xffff0001,0xc0000000,0x00000000), KErrArgument
410 const STwoOpTest DivisionTests[] =
413 SRealX(0x80050000,0xc8000000,0x00000000), SRealX(0x80010000,0xa0000000,0x00000000),
414 SRealX(0x80030000,0xa0000000,0x00000000), KErrNone
417 SRealX(0x80190000,0xbebc2000,0x00000000), SRealX(0x80050000,0xc8000000,0x00000000),
418 SRealX(0x80120000,0xf4240000,0x00000000), KErrNone
421 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x80000000,0xc0000000,0x00000000),
422 SRealX(0x7ffd0200,0xaaaaaaaa,0xaaaaaaab), KErrNone
425 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x80010000,0xa0000000,0x00000000),
426 SRealX(0x7ffc0200,0xcccccccc,0xcccccccd), KErrNone
429 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x80050000,0xc8000000,0x00000000),
430 SRealX(0x7ff80100,0xa3d70a3d,0x70a3d70a), KErrNone
433 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fff0000,0xb504f333,0xf9de6484),
434 SRealX(0x7ffe0200,0xb504f333,0xf9de6485), KErrNone
437 SRealX(0x80000000,0xc90fdaa2,0x2168c235), SRealX(0x80000000,0xadf85458,0xa2bb4a9a),
438 SRealX(0x7fff0200,0x93eedfb1,0x38edef80), KErrNone
441 SRealX(0x80000001,0xc90fdaa2,0x2168c235), SRealX(0x80000000,0xadf85458,0xa2bb4a9a),
442 SRealX(0x7fff0201,0x93eedfb1,0x38edef80), KErrNone
445 SRealX(0x80000001,0xc90fdaa2,0x2168c235), SRealX(0x80000001,0xadf85458,0xa2bb4a9a),
446 SRealX(0x7fff0200,0x93eedfb1,0x38edef80), KErrNone
449 SRealX(0x80000001,0xc90fdaa2,0x2168c235), SRealX(0x80000000,0x80000000,0x00000000),
450 SRealX(0x7fff0001,0xc90fdaa2,0x2168c235), KErrNone
453 SRealX(0xc0000000,0xc90fdaa2,0x2168c235), SRealX(0x40010000,0x80000000,0x00000000),
454 SRealX(0xfffe0000,0xc90fdaa2,0x2168c235), KErrNone
457 SRealX(0xc0000000,0xc90fdaa2,0x2168c235), SRealX(0x40000000,0x80000000,0x00000000),
458 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
461 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0xfffe0000,0xffffffff,0xffffffff),
462 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
465 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0x00000000,0x00000000,0x00000000),
466 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
469 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0x00000000,0x00000000,0x00000000),
470 SRealX(0xffff0001,0x80000000,0x00000000), KErrOverflow
473 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0x00000001,0x00000000,0x00000000),
474 SRealX(0xffff0001,0x80000000,0x00000000), KErrOverflow
477 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0x00000001,0x00000000,0x00000000),
478 SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
481 SRealX(0x00010000,0x80000000,0x00000000), SRealX(0x00000000,0x00000000,0x00000000),
482 SRealX(0xffff0000,0x80000000,0x00000000), KErrDivideByZero
485 SRealX(0x00010001,0x80000000,0x00000000), SRealX(0x00000000,0x00000000,0x00000000),
486 SRealX(0xffff0001,0x80000000,0x00000000), KErrDivideByZero
489 SRealX(0x00010000,0x80000000,0x00000000), SRealX(0x00000001,0x00000000,0x00000000),
490 SRealX(0xffff0001,0x80000000,0x00000000), KErrDivideByZero
493 SRealX(0x00010001,0x80000000,0x00000000), SRealX(0x00000001,0x00000000,0x00000000),
494 SRealX(0xffff0000,0x80000000,0x00000000), KErrDivideByZero
497 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0xffff0001,0x80000000,0x00000000),
498 SRealX(0xffff0001,0xc0000000,0x00000000), KErrArgument
503 const SCompareTest ComparisonTests[] =
506 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000000), 2
509 SRealX(0x80050000,0xc8000000,0x00000000), SRealX(0x80010000,0xa0000000,0x00000000), 4
512 SRealX(0x80050001,0xc8000000,0x00000000), SRealX(0x80010001,0xa0000000,0x00000000), 1
515 SRealX(0x7fff0001,0x80000000,0x00000000), SRealX(0x7fff0001,0x80000000,0x00000000), 2
518 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fff0001,0x80000000,0x00000000), 4
521 SRealX(0x7fff0001,0x80000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000000), 1
524 SRealX(0x00000000,0x00000000,0x00000000), SRealX(0x00000000,0x00000000,0x00000000), 2
527 SRealX(0x00000000,0x00000000,0x00000000), SRealX(0x00000001,0x00000000,0x00000000), 2
530 SRealX(0x7fff0000,0xb504f333,0xf9de6484), SRealX(0x7fff0000,0xb504f333,0xf9de6484), 2
533 SRealX(0x7fff0001,0xb504f333,0xf9de6484), SRealX(0x7fff0001,0xb504f333,0xf9de6484), 2
536 SRealX(0x7fff0000,0xb504f333,0xf9de6485), SRealX(0x7fff0000,0xb504f333,0xf9de6484), 4
539 SRealX(0x7fff0001,0xb504f333,0xf9de6485), SRealX(0x7fff0001,0xb504f333,0xf9de6484), 1
542 SRealX(0x7fff0000,0xb504f333,0xf9de6484), SRealX(0x7fff0000,0xb504f333,0xf9de6485), 1
545 SRealX(0x7fff0001,0xb504f333,0xf9de6484), SRealX(0x7fff0001,0xb504f333,0xf9de6485), 4
548 SRealX(0x7fff0000,0xb504f333,0xf9de6484), SRealX(0x7ffe0000,0xb504f333,0xf9de6484), 4
551 SRealX(0x7fff0000,0xb504f333,0xf9de6484), SRealX(0x80000000,0xb504f333,0xf9de6484), 1
554 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0xfffe0000,0xffffffff,0xffffffff), 4
557 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0xffff0001,0x80000000,0x00000000), 4
560 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0x00000000,0x00000000,0x00000000), 4
563 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0x00000001,0x00000000,0x00000000), 4
566 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0xfffe0001,0xffffffff,0xffffffff), 1
569 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0xffff0000,0x80000000,0x00000000), 1
572 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0x00000000,0x00000000,0x00000000), 1
575 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0x00000001,0x00000000,0x00000000), 1
578 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0xffff0001,0x80000000,0x00000000), 2
581 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0xffff0000,0x80000000,0x00000000), 2
584 SRealX(0xffff0001,0xc0000000,0x00000000), SRealX(0xffff0000,0x80000000,0x00000000), 8
587 SRealX(0xffff0001,0xc0000000,0x00000000), SRealX(0xffff0001,0x80000000,0x00000000), 8
590 SRealX(0xffff0000,0x80000000,0x00000001), SRealX(0x7fff0001,0x80000000,0x00000000), 8
593 SRealX(0xffff0000,0x80000000,0x00000001), SRealX(0xffff0001,0xddb3d742,0xc265539e), 8
596 SRealX(0x00000000,0x00000000,0x00000000), SRealX(0xffff0001,0xddb3d742,0xc265539e), 8
599 SRealX(0xffee0000,0x80005000,0x40000000), SRealX(0xffff0001,0xddb3d742,0xc265539e), 8
602 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0xffff0001,0xddb3d742,0xc265539e), 8
606 const SOneOpTest UnaryPlusTests[] =
609 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000000), 0
612 SRealX(0x7fff0000,0xb504f333,0xf9de6484), SRealX(0x7fff0000,0xb504f333,0xf9de6484), 0
615 SRealX(0xffff0001,0xb504f333,0xf9de6484), SRealX(0xffff0001,0xb504f333,0xf9de6484), 0
619 const SOneOpTest UnaryMinusTests[] =
622 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x7fff0001,0x80000000,0x00000000), 0
625 SRealX(0x7fff0000,0xb504f333,0xf9de6484), SRealX(0x7fff0001,0xb504f333,0xf9de6484), 0
628 SRealX(0xffff0000,0xb504f333,0xf9de6484), SRealX(0xffff0001,0xb504f333,0xf9de6484), 0
631 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0xffff0000,0x80000000,0x00000000), 0
634 SRealX(0x00000000,0x00000000,0x00000000), SRealX(0x00000001,0x00000000,0x00000000), 0
638 const SOneOpTest IncTests[] =
641 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x80000000,0x80000000,0x00000000), 0
644 SRealX(0x7fff0001,0x80000000,0x00000000), SRealX(0x00000000,0x00000000,0x00000000), 0
647 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
650 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0xffff0001,0x80000000,0x00000000), KErrOverflow
653 SRealX(0xffff0000,0xb504f333,0xf9de6484), SRealX(0xffff0000,0xf504f333,0xf9de6484), KErrArgument
656 SRealX(0x00000001,0x00000000,0x00000000), SRealX(0x7fff0000,0x80000000,0x00000000), KErrNone
659 SRealX(0x803e0000,0xddb3d742,0xffffffff), SRealX(0x803e0000,0xddb3d743,0x00000000), KErrNone
663 const SOneOpTest DecTests[] =
666 SRealX(0x7fff0000,0x80000000,0x00000000), SRealX(0x00000000,0x00000000,0x00000000), 0
669 SRealX(0x7fff0001,0x80000000,0x00000000), SRealX(0x80000001,0x80000000,0x00000000), 0
672 SRealX(0xffff0000,0x80000000,0x00000000), SRealX(0xffff0000,0x80000000,0x00000000), KErrOverflow
675 SRealX(0xffff0001,0x80000000,0x00000000), SRealX(0xffff0001,0x80000000,0x00000000), KErrOverflow
678 SRealX(0xffff0000,0xb504f333,0xf9de6484), SRealX(0xffff0000,0xf504f333,0xf9de6484), KErrArgument
681 SRealX(0x00000001,0x00000000,0x00000000), SRealX(0x7fff0001,0x80000000,0x00000000), KErrNone
684 SRealX(0x803e0000,0xddb3d743,0x00000000), SRealX(0x803e0000,0xddb3d742,0xffffffff), KErrNone
688 GLDEF_D const TInt NumBinaryOpNaNTests=sizeof(BinaryOpNaNTests)/sizeof(STwoOpTest);
689 GLDEF_D const TInt NumAdditionTests=sizeof(AdditionTests)/sizeof(STwoOpTest);
690 GLDEF_D const TInt NumMultiplicationTests=sizeof(MultiplicationTests)/sizeof(STwoOpTest);
691 GLDEF_D const TInt NumDivisionTests=sizeof(DivisionTests)/sizeof(STwoOpTest);
692 GLDEF_D const TInt NumComparisonTests=sizeof(ComparisonTests)/sizeof(SCompareTest);
693 GLDEF_D const TInt NumUnaryPlusTests=sizeof(UnaryPlusTests)/sizeof(SOneOpTest);
694 GLDEF_D const TInt NumUnaryMinusTests=sizeof(UnaryMinusTests)/sizeof(SOneOpTest);
695 GLDEF_D const TInt NumIncTests=sizeof(IncTests)/sizeof(SOneOpTest);
696 GLDEF_D const TInt NumDecTests=sizeof(DecTests)/sizeof(SOneOpTest);