MANT_BIT 105 maint/gnulib/lib/fma.c #define NLIMBS1 ((MANT_BIT + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS) MANT_BIT 121 maint/gnulib/lib/fma.c enum { chunk_count = (MANT_BIT - 1) / 31 + 1 }; MANT_BIT 125 maint/gnulib/lib/fma.c unsigned int bits_needed = MANT_BIT - (NLIMBS1 - 1) * GMP_LIMB_BITS; MANT_BIT 132 maint/gnulib/lib/fma.c enum { chunk_bits = MIN (31, MANT_BIT - 0 * 31) }; /* > 0, <= 31 */ MANT_BIT 170 maint/gnulib/lib/fma.c enum { chunk_bits = MIN (31, MAX (MANT_BIT - 1 * 31, 0)) }; /* > 0, <= 31 */ MANT_BIT 208 maint/gnulib/lib/fma.c enum { chunk_bits = MIN (31, MAX (MANT_BIT - 2 * 31, 0)) }; /* > 0, <= 31 */ MANT_BIT 246 maint/gnulib/lib/fma.c enum { chunk_bits = MIN (31, MAX (MANT_BIT - 3 * 31, 0)) }; /* > 0, <= 31 */ MANT_BIT 288 maint/gnulib/lib/fma.c size_t chunk_bits = MIN (31, MANT_BIT - k * 31); /* > 0, <= 31 */ MANT_BIT 436 maint/gnulib/lib/fma.c if (xye < ze - MANT_BIT) MANT_BIT 441 maint/gnulib/lib/fma.c if (xye - 2 * MANT_BIT > ze) MANT_BIT 452 maint/gnulib/lib/fma.c ze = xye - 2 * MANT_BIT - 1; MANT_BIT 473 maint/gnulib/lib/fma.c e = MIN (xye - 2 * MANT_BIT, ze - MANT_BIT); MANT_BIT 474 maint/gnulib/lib/fma.c if (e == xye - 2 * MANT_BIT) MANT_BIT 484 maint/gnulib/lib/fma.c size_t ediff = xye - 2 * MANT_BIT - e; MANT_BIT 519 maint/gnulib/lib/fma.c if (e == ze - MANT_BIT) MANT_BIT 529 maint/gnulib/lib/fma.c size_t ediff = ze - MANT_BIT - e; MANT_BIT 703 maint/gnulib/lib/fma.c keep_bits = MANT_BIT; MANT_BIT 704 maint/gnulib/lib/fma.c else if (e + (int) sum_bits >= MIN_EXP - MANT_BIT) MANT_BIT 707 maint/gnulib/lib/fma.c keep_bits = e + (int) sum_bits - (MIN_EXP + MANT_BIT); MANT_BIT 852 maint/gnulib/lib/fma.c if (MANT_BIT <= GMP_LIMB_BITS) MANT_BIT 35 maint/gnulib/tests/test-fma2.c const int MANT_BIT = DBL_MANT_BIT; /* for gdb */ MANT_BIT 31 maint/gnulib/tests/test-fma2.h #if MANT_BIT == LDBL_MANT_BIT && LDBL_MANT_BIT == 2 * DBL_MANT_BIT MANT_BIT 41 maint/gnulib/tests/test-fma2.h # define MIN_SUBNORMAL_EXP (MIN_EXP - MANT_BIT) MANT_BIT 83 maint/gnulib/tests/test-fma2.h for (ze = MIN_EXP - MANT_BIT; ze <= MAX_EXP - 1;) MANT_BIT 87 maint/gnulib/tests/test-fma2.h if (xe + ye >= ze + MANT_BIT) MANT_BIT 89 maint/gnulib/tests/test-fma2.h else if (xe + ye > ze - MANT_BIT) MANT_BIT 97 maint/gnulib/tests/test-fma2.h if (ze == MIN_EXP + MANT_BIT) MANT_BIT 98 maint/gnulib/tests/test-fma2.h ze = - 2 * MANT_BIT - 1; MANT_BIT 99 maint/gnulib/tests/test-fma2.h else if (ze == 2 * MANT_BIT) MANT_BIT 100 maint/gnulib/tests/test-fma2.h ze = MAX_EXP - MANT_BIT - 1; MANT_BIT 104 maint/gnulib/tests/test-fma2.h for (ze = MIN_EXP - MANT_BIT; ze <= MAX_EXP - 1;) MANT_BIT 108 maint/gnulib/tests/test-fma2.h if (xe + ye > ze + MANT_BIT) MANT_BIT 112 maint/gnulib/tests/test-fma2.h else if (xe + ye > ze - 1 - MANT_BIT) MANT_BIT 120 maint/gnulib/tests/test-fma2.h if (ze == MIN_EXP + MANT_BIT) MANT_BIT 121 maint/gnulib/tests/test-fma2.h ze = - 2 * MANT_BIT - 1; MANT_BIT 122 maint/gnulib/tests/test-fma2.h else if (ze == 2 * MANT_BIT) MANT_BIT 123 maint/gnulib/tests/test-fma2.h ze = MAX_EXP - MANT_BIT - 1; MANT_BIT 143 maint/gnulib/tests/test-fma2.h for (i = 1; i <= MANT_BIT - 1; i++) MANT_BIT 168 maint/gnulib/tests/test-fma2.h && xe + ye < ze + MANT_BIT MANT_BIT 171 maint/gnulib/tests/test-fma2.h || (xe + ye == ze + MANT_BIT - 1 && i == 1)) MANT_BIT 173 maint/gnulib/tests/test-fma2.h if (xe + ye > ze + MANT_BIT) MANT_BIT 175 maint/gnulib/tests/test-fma2.h if (2 * i > MANT_BIT) MANT_BIT 179 maint/gnulib/tests/test-fma2.h else if (2 * i == MANT_BIT) MANT_BIT 183 maint/gnulib/tests/test-fma2.h + POW2 (xe + ye - MANT_BIT + 1)); MANT_BIT 190 maint/gnulib/tests/test-fma2.h else if (xe + ye == ze + MANT_BIT) MANT_BIT 192 maint/gnulib/tests/test-fma2.h if (2 * i >= MANT_BIT) MANT_BIT 196 maint/gnulib/tests/test-fma2.h + POW2 (xe + ye - MANT_BIT + 1)); MANT_BIT 197 maint/gnulib/tests/test-fma2.h else if (2 * i == MANT_BIT - 1) MANT_BIT 209 maint/gnulib/tests/test-fma2.h else if (xe + ye > ze - MANT_BIT + 2 * i) MANT_BIT 215 maint/gnulib/tests/test-fma2.h else if (xe + ye >= ze - MANT_BIT + i) MANT_BIT 220 maint/gnulib/tests/test-fma2.h else if (xe + ye == ze - MANT_BIT + i - 1) MANT_BIT 224 maint/gnulib/tests/test-fma2.h sign * (POW2 (ze) + POW2 (ze - MANT_BIT + 1)); MANT_BIT 229 maint/gnulib/tests/test-fma2.h + POW2 (ze - MANT_BIT + 1)); MANT_BIT 231 maint/gnulib/tests/test-fma2.h else if (xe + ye >= ze - MANT_BIT + 1) MANT_BIT 233 maint/gnulib/tests/test-fma2.h else if (xe + ye == ze - MANT_BIT) MANT_BIT 235 maint/gnulib/tests/test-fma2.h sign * (POW2 (ze) + POW2 (ze - MANT_BIT + 1)); MANT_BIT 236 maint/gnulib/tests/test-fma2.h else if (xe + ye == ze - MANT_BIT - 1) MANT_BIT 240 maint/gnulib/tests/test-fma2.h sign * (POW2 (ze) + POW2 (ze - MANT_BIT + 1)); MANT_BIT 251 maint/gnulib/tests/test-fma2.h if (ze == MIN_EXP + MANT_BIT) MANT_BIT 252 maint/gnulib/tests/test-fma2.h ze = - 2 * MANT_BIT - 1; MANT_BIT 253 maint/gnulib/tests/test-fma2.h else if (ze == 2 * MANT_BIT) MANT_BIT 254 maint/gnulib/tests/test-fma2.h ze = MAX_EXP - MANT_BIT - 1; MANT_BIT 264 maint/gnulib/tests/test-fma2.h if ((xe + ye == ze && i == MANT_BIT - 1) MANT_BIT 269 maint/gnulib/tests/test-fma2.h && xe + ye < ze + MANT_BIT MANT_BIT 272 maint/gnulib/tests/test-fma2.h && xe + ye < ze + MANT_BIT MANT_BIT 285 maint/gnulib/tests/test-fma2.h if (2 * i > MANT_BIT) MANT_BIT 295 maint/gnulib/tests/test-fma2.h else if (xe + ye > ze + MANT_BIT) MANT_BIT 297 maint/gnulib/tests/test-fma2.h if (2 * i >= MANT_BIT) MANT_BIT 307 maint/gnulib/tests/test-fma2.h else if (xe + ye == ze + MANT_BIT) MANT_BIT 309 maint/gnulib/tests/test-fma2.h if (2 * i >= MANT_BIT) MANT_BIT 313 maint/gnulib/tests/test-fma2.h else if (2 * i == MANT_BIT - 1) MANT_BIT 325 maint/gnulib/tests/test-fma2.h else if (xe + ye >= ze - MANT_BIT + 2 * i) MANT_BIT 331 maint/gnulib/tests/test-fma2.h else if (xe + ye >= ze - MANT_BIT + i - 1) MANT_BIT 336 maint/gnulib/tests/test-fma2.h else if (xe + ye == ze - MANT_BIT + i - 2) MANT_BIT 340 maint/gnulib/tests/test-fma2.h + POW2 (ze - MANT_BIT)); MANT_BIT 341 maint/gnulib/tests/test-fma2.h else if (xe + ye >= ze - MANT_BIT) MANT_BIT 345 maint/gnulib/tests/test-fma2.h else if (xe + ye == ze - MANT_BIT - 1) MANT_BIT 348 maint/gnulib/tests/test-fma2.h + POW2 (ze - MANT_BIT)); MANT_BIT 356 maint/gnulib/tests/test-fma2.h if (ze == MIN_EXP + MANT_BIT) MANT_BIT 357 maint/gnulib/tests/test-fma2.h ze = - 2 * MANT_BIT - 1; MANT_BIT 358 maint/gnulib/tests/test-fma2.h else if (ze == 2 * MANT_BIT) MANT_BIT 359 maint/gnulib/tests/test-fma2.h ze = MAX_EXP - MANT_BIT - 1; MANT_BIT 382 maint/gnulib/tests/test-fma2.h for (i = 1; i <= MANT_BIT - 1; i++) MANT_BIT 401 maint/gnulib/tests/test-fma2.h for (ze = MIN_EXP - MANT_BIT; ze <= MAX_EXP - 1;) MANT_BIT 406 maint/gnulib/tests/test-fma2.h if ((xe + ye == ze + MANT_BIT && i > DBL_MANT_BIT) MANT_BIT 407 maint/gnulib/tests/test-fma2.h || (xe + ye < ze + MANT_BIT MANT_BIT 411 maint/gnulib/tests/test-fma2.h && xe + ye == ze - MANT_BIT + 2 * i)) MANT_BIT 413 maint/gnulib/tests/test-fma2.h if (xe + ye > ze + MANT_BIT + 1) MANT_BIT 415 maint/gnulib/tests/test-fma2.h if (2 * i > MANT_BIT) MANT_BIT 422 maint/gnulib/tests/test-fma2.h else if (xe + ye == ze + MANT_BIT + 1) MANT_BIT 424 maint/gnulib/tests/test-fma2.h if (2 * i >= MANT_BIT) MANT_BIT 431 maint/gnulib/tests/test-fma2.h else if (xe + ye >= ze - MANT_BIT + 2 * i) MANT_BIT 433 maint/gnulib/tests/test-fma2.h if (2 * i > MANT_BIT) MANT_BIT 442 maint/gnulib/tests/test-fma2.h else if (xe + ye >= ze - MANT_BIT + 1) MANT_BIT 452 maint/gnulib/tests/test-fma2.h if (ze == MIN_EXP + MANT_BIT) MANT_BIT 453 maint/gnulib/tests/test-fma2.h ze = - 2 * MANT_BIT - 1; MANT_BIT 454 maint/gnulib/tests/test-fma2.h else if (ze == 2 * MANT_BIT) MANT_BIT 455 maint/gnulib/tests/test-fma2.h ze = MAX_EXP - MANT_BIT - 1; MANT_BIT 474 maint/gnulib/tests/test-fma2.h else if (xe + ye > ze + MANT_BIT + 1) MANT_BIT 476 maint/gnulib/tests/test-fma2.h if (2 * i > MANT_BIT + 1) MANT_BIT 478 maint/gnulib/tests/test-fma2.h else if (2 * i == MANT_BIT + 1) MANT_BIT 481 maint/gnulib/tests/test-fma2.h - POW2 (xe + ye - MANT_BIT)); MANT_BIT 487 maint/gnulib/tests/test-fma2.h else if (xe + ye == ze + MANT_BIT + 1) MANT_BIT 489 maint/gnulib/tests/test-fma2.h if (2 * i > MANT_BIT) MANT_BIT 492 maint/gnulib/tests/test-fma2.h - POW2 (xe + ye - MANT_BIT)); MANT_BIT 493 maint/gnulib/tests/test-fma2.h else if (2 * i == MANT_BIT) MANT_BIT 496 maint/gnulib/tests/test-fma2.h - POW2 (xe + ye - MANT_BIT + 1)); MANT_BIT 502 maint/gnulib/tests/test-fma2.h else if (xe + ye == ze + MANT_BIT) MANT_BIT 504 maint/gnulib/tests/test-fma2.h if (2 * i > MANT_BIT + 1) MANT_BIT 507 maint/gnulib/tests/test-fma2.h - POW2 (xe + ye - MANT_BIT)); MANT_BIT 508 maint/gnulib/tests/test-fma2.h else if (2 * i == MANT_BIT + 1) MANT_BIT 511 maint/gnulib/tests/test-fma2.h - POW2 (xe + ye - MANT_BIT + 1)); MANT_BIT 518 maint/gnulib/tests/test-fma2.h else if (xe + ye > ze - MANT_BIT + 2 * i) MANT_BIT 520 maint/gnulib/tests/test-fma2.h if (2 * i > MANT_BIT) MANT_BIT 529 maint/gnulib/tests/test-fma2.h else if (xe + ye == ze - MANT_BIT + 2 * i) MANT_BIT 534 maint/gnulib/tests/test-fma2.h else if (xe + ye >= ze - MANT_BIT) MANT_BIT 543 maint/gnulib/tests/test-fma2.h if (ze == MIN_EXP + MANT_BIT) MANT_BIT 544 maint/gnulib/tests/test-fma2.h ze = - 2 * MANT_BIT - 1; MANT_BIT 545 maint/gnulib/tests/test-fma2.h else if (ze == 2 * MANT_BIT) MANT_BIT 546 maint/gnulib/tests/test-fma2.h ze = MAX_EXP - MANT_BIT - 1; MANT_BIT 564 maint/gnulib/tests/test-fma2.h - LDEXP (POW2 (MAX_EXP - 1) - POW2 (MAX_EXP - MANT_BIT - 1), 1); MANT_BIT 567 maint/gnulib/tests/test-fma2.h ASSERT (result == POW2 (MAX_EXP - MANT_BIT)); MANT_BIT 35 maint/gnulib/tests/test-fmaf2.c const int MANT_BIT = FLT_MANT_BIT; /* for gdb */ MANT_BIT 36 maint/gnulib/tests/test-fmal2.c const int MANT_BIT = LDBL_MANT_BIT; /* for gdb */