1 /* 2 * Copyright (C) 2014 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 static data_1_1_t<double, double> g_significand_intel_data[] = { 18 { // Entry 0 19 0x1.p0, 20 0x1.0p100 21 }, 22 { // Entry 1 23 0x1.2aaaaaaaaaaab0p0, 24 0x1.2aaaaaaaaaaabp100 25 }, 26 { // Entry 2 27 0x1.55555555555560p0, 28 0x1.5555555555556p100 29 }, 30 { // Entry 3 31 0x1.80000000000010p0, 32 0x1.8000000000001p100 33 }, 34 { // Entry 4 35 0x1.aaaaaaaaaaaac0p0, 36 0x1.aaaaaaaaaaaacp100 37 }, 38 { // Entry 5 39 0x1.d5555555555570p0, 40 0x1.d555555555557p100 41 }, 42 { // Entry 6 43 0x1.p0, 44 0x1.0p101 45 }, 46 { // Entry 7 47 0x1.p0, 48 0x1.0p200 49 }, 50 { // Entry 8 51 0x1.2aaaaaaaaaaab0p0, 52 0x1.2aaaaaaaaaaabp200 53 }, 54 { // Entry 9 55 0x1.55555555555560p0, 56 0x1.5555555555556p200 57 }, 58 { // Entry 10 59 0x1.80000000000010p0, 60 0x1.8000000000001p200 61 }, 62 { // Entry 11 63 0x1.aaaaaaaaaaaac0p0, 64 0x1.aaaaaaaaaaaacp200 65 }, 66 { // Entry 12 67 0x1.d5555555555570p0, 68 0x1.d555555555557p200 69 }, 70 { // Entry 13 71 0x1.p0, 72 0x1.0p201 73 }, 74 { // Entry 14 75 0x1.p0, 76 0x1.0p1000 77 }, 78 { // Entry 15 79 0x1.2aaaaaaaaaaab0p0, 80 0x1.2aaaaaaaaaaabp1000 81 }, 82 { // Entry 16 83 0x1.55555555555560p0, 84 0x1.5555555555556p1000 85 }, 86 { // Entry 17 87 0x1.80000000000010p0, 88 0x1.8000000000001p1000 89 }, 90 { // Entry 18 91 0x1.aaaaaaaaaaaac0p0, 92 0x1.aaaaaaaaaaaacp1000 93 }, 94 { // Entry 19 95 0x1.d5555555555570p0, 96 0x1.d555555555557p1000 97 }, 98 { // Entry 20 99 0x1.p0, 100 0x1.0p1001 101 }, 102 { // Entry 21 103 -0x1.p0, 104 -0x1.0p101 105 }, 106 { // Entry 22 107 -0x1.d5555555555550p0, 108 -0x1.d555555555555p100 109 }, 110 { // Entry 23 111 -0x1.aaaaaaaaaaaaa0p0, 112 -0x1.aaaaaaaaaaaaap100 113 }, 114 { // Entry 24 115 -0x1.7ffffffffffff0p0, 116 -0x1.7ffffffffffffp100 117 }, 118 { // Entry 25 119 -0x1.55555555555540p0, 120 -0x1.5555555555554p100 121 }, 122 { // Entry 26 123 -0x1.2aaaaaaaaaaa90p0, 124 -0x1.2aaaaaaaaaaa9p100 125 }, 126 { // Entry 27 127 -0x1.p0, 128 -0x1.0p100 129 }, 130 { // Entry 28 131 -0x1.p0, 132 -0x1.0p201 133 }, 134 { // Entry 29 135 -0x1.d5555555555550p0, 136 -0x1.d555555555555p200 137 }, 138 { // Entry 30 139 -0x1.aaaaaaaaaaaaa0p0, 140 -0x1.aaaaaaaaaaaaap200 141 }, 142 { // Entry 31 143 -0x1.7ffffffffffff0p0, 144 -0x1.7ffffffffffffp200 145 }, 146 { // Entry 32 147 -0x1.55555555555540p0, 148 -0x1.5555555555554p200 149 }, 150 { // Entry 33 151 -0x1.2aaaaaaaaaaa90p0, 152 -0x1.2aaaaaaaaaaa9p200 153 }, 154 { // Entry 34 155 -0x1.p0, 156 -0x1.0p200 157 }, 158 { // Entry 35 159 -0x1.p0, 160 -0x1.0p1001 161 }, 162 { // Entry 36 163 -0x1.d5555555555550p0, 164 -0x1.d555555555555p1000 165 }, 166 { // Entry 37 167 -0x1.aaaaaaaaaaaaa0p0, 168 -0x1.aaaaaaaaaaaaap1000 169 }, 170 { // Entry 38 171 -0x1.7ffffffffffff0p0, 172 -0x1.7ffffffffffffp1000 173 }, 174 { // Entry 39 175 -0x1.55555555555540p0, 176 -0x1.5555555555554p1000 177 }, 178 { // Entry 40 179 -0x1.2aaaaaaaaaaa90p0, 180 -0x1.2aaaaaaaaaaa9p1000 181 }, 182 { // Entry 41 183 -0x1.p0, 184 -0x1.0p1000 185 }, 186 { // Entry 42 187 0x1.p0, 188 0x1.0p50 189 }, 190 { // Entry 43 191 0x1.p0, 192 0x1.0p51 193 }, 194 { // Entry 44 195 0x1.p0, 196 0x1.0p52 197 }, 198 { // Entry 45 199 0x1.p0, 200 0x1.0p53 201 }, 202 { // Entry 46 203 0x1.p0, 204 0x1.0p-1026 205 }, 206 { // Entry 47 207 0x1.ae8ba2e8ba2e80p0, 208 0x1.ae8ba2e8ba2e8p-1024 209 }, 210 { // Entry 48 211 0x1.8e8ba2e8ba2e80p0, 212 0x1.8e8ba2e8ba2e8p-1023 213 }, 214 { // Entry 49 215 0x1.22e8ba2e8ba2e0p0, 216 0x1.22e8ba2e8ba2ep-1022 217 }, 218 { // Entry 50 219 0x1.7e8ba2e8ba2e80p0, 220 0x1.7e8ba2e8ba2e8p-1022 221 }, 222 { // Entry 51 223 0x1.da2e8ba2e8ba20p0, 224 0x1.da2e8ba2e8ba2p-1022 225 }, 226 { // Entry 52 227 0x1.1ae8ba2e8ba2e0p0, 228 0x1.1ae8ba2e8ba2ep-1021 229 }, 230 { // Entry 53 231 0x1.48ba2e8ba2e8b0p0, 232 0x1.48ba2e8ba2e8bp-1021 233 }, 234 { // Entry 54 235 0x1.768ba2e8ba2e80p0, 236 0x1.768ba2e8ba2e8p-1021 237 }, 238 { // Entry 55 239 0x1.a45d1745d17450p0, 240 0x1.a45d1745d1745p-1021 241 }, 242 { // Entry 56 243 0x1.d22e8ba2e8ba20p0, 244 0x1.d22e8ba2e8ba2p-1021 245 }, 246 { // Entry 57 247 0x1.fffffffffffff0p0, 248 0x1.fffffffffffffp-1021 249 }, 250 { // Entry 58 251 0x1.fffffffffffff0p0, 252 0x1.fffffffffffffp50 253 }, 254 { // Entry 59 255 0x1.p0, 256 0x1.0p51 257 }, 258 { // Entry 60 259 0x1.00000000000010p0, 260 0x1.0000000000001p51 261 }, 262 { // Entry 61 263 0x1.fffffffffffff0p0, 264 0x1.fffffffffffffp51 265 }, 266 { // Entry 62 267 0x1.p0, 268 0x1.0p52 269 }, 270 { // Entry 63 271 0x1.00000000000010p0, 272 0x1.0000000000001p52 273 }, 274 { // Entry 64 275 0x1.fffffffffffff0p0, 276 0x1.fffffffffffffp52 277 }, 278 { // Entry 65 279 0x1.p0, 280 0x1.0p53 281 }, 282 { // Entry 66 283 0x1.00000000000010p0, 284 0x1.0000000000001p53 285 }, 286 { // Entry 67 287 -0x1.00000000000010p0, 288 -0x1.0000000000001p51 289 }, 290 { // Entry 68 291 -0x1.p0, 292 -0x1.0p51 293 }, 294 { // Entry 69 295 -0x1.fffffffffffff0p0, 296 -0x1.fffffffffffffp50 297 }, 298 { // Entry 70 299 -0x1.00000000000010p0, 300 -0x1.0000000000001p52 301 }, 302 { // Entry 71 303 -0x1.p0, 304 -0x1.0p52 305 }, 306 { // Entry 72 307 -0x1.fffffffffffff0p0, 308 -0x1.fffffffffffffp51 309 }, 310 { // Entry 73 311 -0x1.00000000000010p0, 312 -0x1.0000000000001p53 313 }, 314 { // Entry 74 315 -0x1.p0, 316 -0x1.0p53 317 }, 318 { // Entry 75 319 -0x1.fffffffffffff0p0, 320 -0x1.fffffffffffffp52 321 }, 322 { // Entry 76 323 0x1.fffffffffffff0p0, 324 0x1.fffffffffffffp1023 325 }, 326 { // Entry 77 327 -0x1.fffffffffffff0p0, 328 -0x1.fffffffffffffp1023 329 }, 330 { // Entry 78 331 0x1.fffffffffffff0p0, 332 0x1.fffffffffffffp-7 333 }, 334 { // Entry 79 335 0x1.p0, 336 0x1.0p-6 337 }, 338 { // Entry 80 339 0x1.00000000000010p0, 340 0x1.0000000000001p-6 341 }, 342 { // Entry 81 343 0x1.fffffffffffff0p0, 344 0x1.fffffffffffffp-6 345 }, 346 { // Entry 82 347 0x1.p0, 348 0x1.0p-5 349 }, 350 { // Entry 83 351 0x1.00000000000010p0, 352 0x1.0000000000001p-5 353 }, 354 { // Entry 84 355 0x1.fffffffffffff0p0, 356 0x1.fffffffffffffp-5 357 }, 358 { // Entry 85 359 0x1.p0, 360 0x1.0p-4 361 }, 362 { // Entry 86 363 0x1.00000000000010p0, 364 0x1.0000000000001p-4 365 }, 366 { // Entry 87 367 0x1.fffffffffffff0p0, 368 0x1.fffffffffffffp-4 369 }, 370 { // Entry 88 371 0x1.p0, 372 0x1.0p-3 373 }, 374 { // Entry 89 375 0x1.00000000000010p0, 376 0x1.0000000000001p-3 377 }, 378 { // Entry 90 379 0x1.fffffffffffff0p0, 380 0x1.fffffffffffffp-3 381 }, 382 { // Entry 91 383 0x1.p0, 384 0x1.0p-2 385 }, 386 { // Entry 92 387 0x1.00000000000010p0, 388 0x1.0000000000001p-2 389 }, 390 { // Entry 93 391 0x1.fffffffffffff0p0, 392 0x1.fffffffffffffp-2 393 }, 394 { // Entry 94 395 0x1.p0, 396 0x1.0p-1 397 }, 398 { // Entry 95 399 0x1.00000000000010p0, 400 0x1.0000000000001p-1 401 }, 402 { // Entry 96 403 -0x1.p0, 404 -0x1.0p-1074 405 }, 406 { // Entry 97 407 -0.0, 408 -0.0 409 }, 410 { // Entry 98 411 0x1.p0, 412 0x1.0p-1074 413 }, 414 { // Entry 99 415 0x1.fffffffffffff0p0, 416 0x1.fffffffffffffp-1 417 }, 418 { // Entry 100 419 0x1.p0, 420 0x1.0p0 421 }, 422 { // Entry 101 423 0x1.00000000000010p0, 424 0x1.0000000000001p0 425 }, 426 { // Entry 102 427 0x1.fffffffffffff0p0, 428 0x1.fffffffffffffp0 429 }, 430 { // Entry 103 431 0x1.p0, 432 0x1.0p1 433 }, 434 { // Entry 104 435 0x1.00000000000010p0, 436 0x1.0000000000001p1 437 }, 438 { // Entry 105 439 0x1.fffffffffffff0p0, 440 0x1.fffffffffffffp1 441 }, 442 { // Entry 106 443 0x1.p0, 444 0x1.0p2 445 }, 446 { // Entry 107 447 0x1.00000000000010p0, 448 0x1.0000000000001p2 449 }, 450 { // Entry 108 451 0x1.fffffffffffff0p0, 452 0x1.fffffffffffffp2 453 }, 454 { // Entry 109 455 0x1.p0, 456 0x1.0p3 457 }, 458 { // Entry 110 459 0x1.00000000000010p0, 460 0x1.0000000000001p3 461 }, 462 { // Entry 111 463 0x1.fffffffffffff0p0, 464 0x1.fffffffffffffp3 465 }, 466 { // Entry 112 467 0x1.p0, 468 0x1.0p4 469 }, 470 { // Entry 113 471 0x1.00000000000010p0, 472 0x1.0000000000001p4 473 }, 474 { // Entry 114 475 0x1.fffffffffffff0p0, 476 0x1.fffffffffffffp4 477 }, 478 { // Entry 115 479 0x1.p0, 480 0x1.0p5 481 }, 482 { // Entry 116 483 0x1.00000000000010p0, 484 0x1.0000000000001p5 485 }, 486 { // Entry 117 487 0x1.fffffffffffff0p0, 488 0x1.fffffffffffffp5 489 }, 490 { // Entry 118 491 0x1.p0, 492 0x1.0p6 493 }, 494 { // Entry 119 495 0x1.00000000000010p0, 496 0x1.0000000000001p6 497 }, 498 { // Entry 120 499 0x1.fffffffffffff0p0, 500 0x1.fffffffffffffp6 501 }, 502 { // Entry 121 503 0x1.p0, 504 0x1.0p7 505 }, 506 { // Entry 122 507 0x1.00000000000010p0, 508 0x1.0000000000001p7 509 }, 510 { // Entry 123 511 HUGE_VAL, 512 HUGE_VAL 513 }, 514 { // Entry 124 515 -HUGE_VAL, 516 -HUGE_VAL 517 }, 518 { // Entry 125 519 0x1.fffffffffffff0p0, 520 0x1.fffffffffffffp1023 521 }, 522 { // Entry 126 523 -0x1.fffffffffffff0p0, 524 -0x1.fffffffffffffp1023 525 }, 526 { // Entry 127 527 0x1.ffffffffffffe0p0, 528 0x1.ffffffffffffep1023 529 }, 530 { // Entry 128 531 -0x1.ffffffffffffe0p0, 532 -0x1.ffffffffffffep1023 533 }, 534 { // Entry 129 535 0x1.921fb54442d180p0, 536 0x1.921fb54442d18p1 537 }, 538 { // Entry 130 539 -0x1.921fb54442d180p0, 540 -0x1.921fb54442d18p1 541 }, 542 { // Entry 131 543 0x1.921fb54442d180p0, 544 0x1.921fb54442d18p0 545 }, 546 { // Entry 132 547 -0x1.921fb54442d180p0, 548 -0x1.921fb54442d18p0 549 }, 550 { // Entry 133 551 0x1.00000000000010p0, 552 0x1.0000000000001p0 553 }, 554 { // Entry 134 555 -0x1.00000000000010p0, 556 -0x1.0000000000001p0 557 }, 558 { // Entry 135 559 0x1.p0, 560 0x1.0p0 561 }, 562 { // Entry 136 563 -0x1.p0, 564 -0x1.0p0 565 }, 566 { // Entry 137 567 0x1.fffffffffffff0p0, 568 0x1.fffffffffffffp-1 569 }, 570 { // Entry 138 571 -0x1.fffffffffffff0p0, 572 -0x1.fffffffffffffp-1 573 }, 574 { // Entry 139 575 0x1.921fb54442d180p0, 576 0x1.921fb54442d18p-1 577 }, 578 { // Entry 140 579 -0x1.921fb54442d180p0, 580 -0x1.921fb54442d18p-1 581 }, 582 { // Entry 141 583 0x1.00000000000010p0, 584 0x1.0000000000001p-1022 585 }, 586 { // Entry 142 587 -0x1.00000000000010p0, 588 -0x1.0000000000001p-1022 589 }, 590 { // Entry 143 591 0x1.p0, 592 0x1.0p-1022 593 }, 594 { // Entry 144 595 -0x1.p0, 596 -0x1.0p-1022 597 }, 598 { // Entry 145 599 0x1.ffffffffffffe0p0, 600 0x1.ffffffffffffep-1023 601 }, 602 { // Entry 146 603 -0x1.ffffffffffffe0p0, 604 -0x1.ffffffffffffep-1023 605 }, 606 { // Entry 147 607 0x1.ffffffffffffc0p0, 608 0x1.ffffffffffffcp-1023 609 }, 610 { // Entry 148 611 -0x1.ffffffffffffc0p0, 612 -0x1.ffffffffffffcp-1023 613 }, 614 { // Entry 149 615 0x1.p0, 616 0x1.0p-1073 617 }, 618 { // Entry 150 619 -0x1.p0, 620 -0x1.0p-1073 621 }, 622 { // Entry 151 623 0x1.p0, 624 0x1.0p-1074 625 }, 626 { // Entry 152 627 -0x1.p0, 628 -0x1.0p-1074 629 }, 630 { // Entry 153 631 0.0, 632 0.0 633 }, 634 { // Entry 154 635 -0.0, 636 -0.0 637 } 638 }; 639