1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kerneltest/e32test/math/t_real32.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,415 @@
1.4 +// Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// e32test\math\t_real32.h
1.18 +// Generated by \E32\TMATH\T_GEN32.MAK
1.19 +//
1.20 +//
1.21 +
1.22 +
1.23 +#include <e32std.h>
1.24 +
1.25 +#include "t_vals.h"
1.26 +
1.27 +const TInt32x addArray[] =
1.28 + {
1.29 + TInt32x(0x7f7fffff),
1.30 + TInt32x(0x0),
1.31 + TInt32x(0xff7fffff),
1.32 + TInt32x(0xfeffffff),
1.33 + TInt32x(0x81000000),
1.34 + TInt32x(0x0),
1.35 + TInt32x(0x1000000),
1.36 + TInt32x(0x1400000),
1.37 + TInt32x(0x800000),
1.38 + TInt32x(0x80800000),
1.39 + TInt32x(0x0),
1.40 + TInt32x(0x7f7fffff),
1.41 + TInt32x(0x0),
1.42 + TInt32x(0xff7fffff),
1.43 + TInt32x(0x3f800000),
1.44 + TInt32x(0x403ffb16),
1.45 + TInt32x(0x407ffb16),
1.46 + TInt32x(0x37fc0000),
1.47 + TInt32x(0xc07fff82),
1.48 + TInt32x(0xbffc3e6c),
1.49 + TInt32x(0x3d7064ed),
1.50 + TInt32x(0x7e1f688a),
1.51 + TInt32x(0x7e9f688a),
1.52 + TInt32x(0x7e1f68cf),
1.53 + TInt32x(0x76092f7d),
1.54 + TInt32x(0x0),
1.55 + TInt32x(0xf6092f7d),
1.56 + TInt32x(0xf5892f63),
1.57 + TInt32x(0x0),
1.58 + TInt32x(0xec4cad75),
1.59 + TInt32x(0x3129b2d9),
1.60 + TInt32x(0x30a9b3f9),
1.61 + TInt32x(0x0),
1.62 + TInt32x(0xa9100c44),
1.63 + TInt32x(0x2025098a),
1.64 + TInt32x(0x7e1f688a),
1.65 + TInt32x(0x7e9f688a),
1.66 + TInt32x(0x7e1f688a),
1.67 + TInt32x(0x710c7a5b),
1.68 + TInt32x(0x0),
1.69 + TInt32x(0xf10c7a5b),
1.70 + TInt32x(0xf08c7a5b),
1.71 + TInt32x(0x0),
1.72 + TInt32x(0xe4062333),
1.73 + TInt32x(0x37cf26d2),
1.74 + TInt32x(0x374f26d2),
1.75 + TInt32x(0x2b340f88),
1.76 + TInt32x(0x2ab40f88),
1.77 + TInt32x(0x1cd33f69),
1.78 + };
1.79 +
1.80 +const TInt32x subArray[] =
1.81 + {
1.82 + TInt32x(0x7f7fffff),
1.83 + TInt32x(0xfeffffff),
1.84 + TInt32x(0x0),
1.85 + TInt32x(0xff7fffff),
1.86 + TInt32x(0x0),
1.87 + TInt32x(0x7f7fffff),
1.88 + TInt32x(0x69845951),
1.89 + TInt32x(0x7f7fffff),
1.90 + TInt32x(0x0),
1.91 + TInt32x(0xff7fffff),
1.92 + TInt32x(0x0),
1.93 + TInt32x(0x1000000),
1.94 + TInt32x(0x0),
1.95 + TInt32x(0x80800000),
1.96 + TInt32x(0x0),
1.97 + TInt32x(0x81000000),
1.98 + TInt32x(0x800000),
1.99 + TInt32x(0x1400000),
1.100 + TInt32x(0x80800000),
1.101 + TInt32x(0xbf800000),
1.102 + TInt32x(0xc0600000),
1.103 + TInt32x(0x40200002),
1.104 + TInt32x(0xb4c00000),
1.105 + TInt32x(0x407ffffe),
1.106 + TInt32x(0x34c00000),
1.107 + TInt32x(0xc001e0ca),
1.108 + TInt32x(0x0),
1.109 + TInt32x(0xfe1f688a),
1.110 + TInt32x(0x0),
1.111 + TInt32x(0x7e1f6845),
1.112 + TInt32x(0x0),
1.113 + TInt32x(0x76092f7d),
1.114 + TInt32x(0x0),
1.115 + TInt32x(0xf589307d),
1.116 + TInt32x(0x6e7fd8d3),
1.117 + TInt32x(0xedffd8d3),
1.118 + TInt32x(0x0),
1.119 + TInt32x(0x30a9b1b9),
1.120 + TInt32x(0x29900c6d),
1.121 + TInt32x(0xa9100c96),
1.122 + TInt32x(0x2025098a),
1.123 + TInt32x(0xfe1f688a),
1.124 + TInt32x(0x0),
1.125 + TInt32x(0x7e1f688a),
1.126 + TInt32x(0x0),
1.127 + TInt32x(0x710c7a5b),
1.128 + TInt32x(0x0),
1.129 + TInt32x(0xf08c7a5b),
1.130 + TInt32x(0x64862333),
1.131 + TInt32x(0xe4062333),
1.132 + TInt32x(0x0),
1.133 + TInt32x(0x374f26d2),
1.134 + TInt32x(0x0),
1.135 + TInt32x(0x2ab40f88),
1.136 + TInt32x(0x1cd33f69),
1.137 + };
1.138 +
1.139 +const TInt32x multArray[] =
1.140 + {
1.141 + TInt32x(0x3f800000),
1.142 + TInt32x(0x0),
1.143 + TInt32x(0x0),
1.144 + TInt32x(0x0),
1.145 + TInt32x(0x7f7ffffa),
1.146 + TInt32x(0xff7ffffa),
1.147 + TInt32x(0x7f7ffffa),
1.148 + TInt32x(0xbffffffd),
1.149 + TInt32x(0x800000),
1.150 + TInt32x(0x80800000),
1.151 + TInt32x(0x800000),
1.152 + TInt32x(0xa0000000),
1.153 + TInt32x(0x7f7fffff),
1.154 + TInt32x(0x0),
1.155 + TInt32x(0x0),
1.156 + TInt32x(0x800000),
1.157 + TInt32x(0x40900000),
1.158 + TInt32x(0x1900000),
1.159 + TInt32x(0x407fffff),
1.160 + TInt32x(0x7f7fffff),
1.161 + TInt32x(0x3f7ffffb),
1.162 + TInt32x(0xbf7ffffb),
1.163 + TInt32x(0x3f7ffffb),
1.164 + TInt32x(0xbcf064e8),
1.165 + TInt32x(0x3a61bd64),
1.166 + TInt32x(0x5bb54d42),
1.167 + TInt32x(0x7d119c93),
1.168 + TInt32x(0xfd119c93),
1.169 + TInt32x(0x7d119c93),
1.170 + TInt32x(0x5e3f1829),
1.171 + TInt32x(0x3f7ac8b1),
1.172 + TInt32x(0x7c1c30a0),
1.173 + TInt32x(0x412bdf41),
1.174 + TInt32x(0x99855f7f),
1.175 + TInt32x(0x418da1ca),
1.176 + TInt32x(0xdf19d151),
1.177 + TInt32x(0xc0de0cc0),
1.178 + TInt32x(0x17825417),
1.179 + TInt32x(0x7c57171b),
1.180 + TInt32x(0x6bb8c2d9),
1.181 + TInt32x(0x4be040b),
1.182 + TInt32x(0x21302c4c),
1.183 + TInt32x(0x7d49f701),
1.184 + TInt32x(0x55742918),
1.185 + TInt32x(0x5b26ba6),
1.186 + };
1.187 +
1.188 +const TInt32x divArray[] =
1.189 + {
1.190 + TInt32x(0x0),
1.191 + TInt32x(0x3f800000),
1.192 + TInt32x(0xbf800000),
1.193 + TInt32x(0x3f800000),
1.194 + TInt32x(0xfe7fffff),
1.195 + TInt32x(0x800001),
1.196 + TInt32x(0x0),
1.197 + TInt32x(0xfe800000),
1.198 + TInt32x(0x80800000),
1.199 + TInt32x(0x7e800000),
1.200 + TInt32x(0x3f800000),
1.201 + TInt32x(0xbf800000),
1.202 + TInt32x(0x3f800000),
1.203 + TInt32x(0x0),
1.204 + TInt32x(0x3f800000),
1.205 + TInt32x(0x3f800003),
1.206 + TInt32x(0xbf7ffffb),
1.207 + TInt32x(0x3f800003),
1.208 + TInt32x(0xbf7ffffb),
1.209 + TInt32x(0xbf800000),
1.210 + TInt32x(0xc2084f36),
1.211 + TInt32x(0x3f800000),
1.212 + TInt32x(0x78094f89),
1.213 + TInt32x(0x3f800000),
1.214 + TInt32x(0x84626985),
1.215 + TInt32x(0x3f800000),
1.216 + TInt32x(0x9f0662a4),
1.217 + TInt32x(0x3f800000),
1.218 + TInt32x(0x72fc6f7d),
1.219 + TInt32x(0x3f800000),
1.220 + TInt32x(0xa343c181),
1.221 + TInt32x(0x3f800000),
1.222 + TInt32x(0x29e12e14),
1.223 + TInt32x(0x7b4097ce),
1.224 + TInt32x(0x9abc5661),
1.225 + TInt32x(0x4cbebc20),
1.226 + TInt32x(0xb22bcc77),
1.227 + TInt32x(0x4cbebc20),
1.228 + TInt32x(0x2f2f9fe4),
1.229 + TInt32x(0xd368d4a5),
1.230 + TInt32x(0x38acc869),
1.231 + TInt32x(0x442ab6c),
1.232 + TInt32x(0x7409e492),
1.233 + TInt32x(0x7bdc5bb2),
1.234 + TInt32x(0x1bc5b16e),
1.235 + TInt32x(0x3b9117e),
1.236 + TInt32x(0x5008fe22),
1.237 + TInt32x(0x7b517d6c),
1.238 + };
1.239 +
1.240 +const TInt32x unaryArray[] =
1.241 + {
1.242 + TInt32x(0x80000000),
1.243 + TInt32x(0xbf800000),
1.244 + TInt32x(0x3f800000),
1.245 + TInt32x(0xff7fffff),
1.246 + TInt32x(0x7f7fffff),
1.247 + TInt32x(0x80800000),
1.248 + TInt32x(0x800000),
1.249 + };
1.250 +
1.251 +const TInt32x preIncArray1[] =
1.252 + {
1.253 + TInt32x(0x0),
1.254 + TInt32x(0x3f800000),
1.255 + TInt32x(0x40000000),
1.256 + TInt32x(0xc4d0f83f),
1.257 + TInt32x(0x44c9ba46),
1.258 + TInt32x(0x7f7fffff),
1.259 + TInt32x(0xff7fffff),
1.260 + TInt32x(0x3f800000),
1.261 + TInt32x(0x3f800000),
1.262 + TInt32x(0x584ca2e5),
1.263 + TInt32x(0xd84ca2e5),
1.264 + TInt32x(0x3f800000),
1.265 + TInt32x(0x3f800000),
1.266 + TInt32x(0x5b9fdf43),
1.267 + TInt32x(0xdb9fdf43),
1.268 + TInt32x(0x3f800000),
1.269 + TInt32x(0x3f800000),
1.270 + };
1.271 +
1.272 +const TInt32x preIncArray2[] =
1.273 + {
1.274 + TInt32x(0x3f800000),
1.275 + TInt32x(0x40000000),
1.276 + TInt32x(0x40400000),
1.277 + TInt32x(0xc4d0d83f),
1.278 + TInt32x(0x44c9da46),
1.279 + TInt32x(0x7f7fffff),
1.280 + TInt32x(0xff7fffff),
1.281 + TInt32x(0x40000000),
1.282 + TInt32x(0x40000000),
1.283 + TInt32x(0x584ca2e5),
1.284 + TInt32x(0xd84ca2e5),
1.285 + TInt32x(0x40000000),
1.286 + TInt32x(0x40000000),
1.287 + TInt32x(0x5b9fdf43),
1.288 + TInt32x(0xdb9fdf43),
1.289 + TInt32x(0x40000000),
1.290 + TInt32x(0x40000000),
1.291 + };
1.292 +
1.293 +const TInt32x preDecArray1[] =
1.294 + {
1.295 + TInt32x(0xc0000000),
1.296 + TInt32x(0xbf800000),
1.297 + TInt32x(0x0),
1.298 + TInt32x(0xc4d1383f),
1.299 + TInt32x(0x44c97a46),
1.300 + TInt32x(0x7f7fffff),
1.301 + TInt32x(0xff7fffff),
1.302 + TInt32x(0xbf800000),
1.303 + TInt32x(0xbf800000),
1.304 + TInt32x(0x584ca2e5),
1.305 + TInt32x(0xd84ca2e5),
1.306 + TInt32x(0xbf800000),
1.307 + TInt32x(0xbf800000),
1.308 + TInt32x(0x5b9fdf43),
1.309 + TInt32x(0xdb9fdf43),
1.310 + TInt32x(0xbf800000),
1.311 + TInt32x(0xbf800000),
1.312 + };
1.313 +
1.314 +const TInt32x preDecArray2[] =
1.315 + {
1.316 + TInt32x(0xc0400000),
1.317 + TInt32x(0xc0000000),
1.318 + TInt32x(0xbf800000),
1.319 + TInt32x(0xc4d1583f),
1.320 + TInt32x(0x44c95a46),
1.321 + TInt32x(0x7f7fffff),
1.322 + TInt32x(0xff7fffff),
1.323 + TInt32x(0xc0000000),
1.324 + TInt32x(0xc0000000),
1.325 + TInt32x(0x584ca2e5),
1.326 + TInt32x(0xd84ca2e5),
1.327 + TInt32x(0xc0000000),
1.328 + TInt32x(0xc0000000),
1.329 + TInt32x(0x5b9fdf43),
1.330 + TInt32x(0xdb9fdf43),
1.331 + TInt32x(0xc0000000),
1.332 + TInt32x(0xc0000000),
1.333 + };
1.334 +
1.335 +const TInt32x postIncArray1[] =
1.336 + {
1.337 + TInt32x(0x0),
1.338 + TInt32x(0x3f800000),
1.339 + TInt32x(0x40000000),
1.340 + TInt32x(0xc4d0f83f),
1.341 + TInt32x(0x44c9ba46),
1.342 + TInt32x(0x7f7fffff),
1.343 + TInt32x(0xff7fffff),
1.344 + TInt32x(0x3f800000),
1.345 + TInt32x(0x3f800000),
1.346 + TInt32x(0x584ca2e5),
1.347 + TInt32x(0xd84ca2e5),
1.348 + TInt32x(0x3f800000),
1.349 + TInt32x(0x3f800000),
1.350 + TInt32x(0x5b9fdf43),
1.351 + TInt32x(0xdb9fdf43),
1.352 + TInt32x(0x3f800000),
1.353 + TInt32x(0x3f800000),
1.354 + };
1.355 +
1.356 +const TInt32x postIncArray2[] =
1.357 + {
1.358 + TInt32x(0x3f800000),
1.359 + TInt32x(0x40000000),
1.360 + TInt32x(0x40400000),
1.361 + TInt32x(0xc4d0d83f),
1.362 + TInt32x(0x44c9da46),
1.363 + TInt32x(0x7f7fffff),
1.364 + TInt32x(0xff7fffff),
1.365 + TInt32x(0x40000000),
1.366 + TInt32x(0x40000000),
1.367 + TInt32x(0x584ca2e5),
1.368 + TInt32x(0xd84ca2e5),
1.369 + TInt32x(0x40000000),
1.370 + TInt32x(0x40000000),
1.371 + TInt32x(0x5b9fdf43),
1.372 + TInt32x(0xdb9fdf43),
1.373 + TInt32x(0x40000000),
1.374 + TInt32x(0x40000000),
1.375 + };
1.376 +
1.377 +const TInt32x postDecArray1[] =
1.378 + {
1.379 + TInt32x(0xc0000000),
1.380 + TInt32x(0xbf800000),
1.381 + TInt32x(0x0),
1.382 + TInt32x(0xc4d1383f),
1.383 + TInt32x(0x44c97a46),
1.384 + TInt32x(0x7f7fffff),
1.385 + TInt32x(0xff7fffff),
1.386 + TInt32x(0xbf800000),
1.387 + TInt32x(0xbf800000),
1.388 + TInt32x(0x584ca2e5),
1.389 + TInt32x(0xd84ca2e5),
1.390 + TInt32x(0xbf800000),
1.391 + TInt32x(0xbf800000),
1.392 + TInt32x(0x5b9fdf43),
1.393 + TInt32x(0xdb9fdf43),
1.394 + TInt32x(0xbf800000),
1.395 + TInt32x(0xbf800000),
1.396 + };
1.397 +
1.398 +const TInt32x postDecArray2[] =
1.399 + {
1.400 + TInt32x(0xc0400000),
1.401 + TInt32x(0xc0000000),
1.402 + TInt32x(0xbf800000),
1.403 + TInt32x(0xc4d1583f),
1.404 + TInt32x(0x44c95a46),
1.405 + TInt32x(0x7f7fffff),
1.406 + TInt32x(0xff7fffff),
1.407 + TInt32x(0xc0000000),
1.408 + TInt32x(0xc0000000),
1.409 + TInt32x(0x584ca2e5),
1.410 + TInt32x(0xd84ca2e5),
1.411 + TInt32x(0xc0000000),
1.412 + TInt32x(0xc0000000),
1.413 + TInt32x(0x5b9fdf43),
1.414 + TInt32x(0xdb9fdf43),
1.415 + TInt32x(0xc0000000),
1.416 + TInt32x(0xc0000000),
1.417 + };
1.418 +