Lines Matching defs:FP64_BITS

69 #define FP64_BITS 64
85 #define FP64_MANT_BITS (FP64_BITS - FP64_EXP_BITS - 1)
314 return sgn << (FP64_BITS - 1) | exp << FP64_MANT_BITS | FP64_MANT(mnt);
432 *sgn = x >> (FP64_BITS - 1);
1493 // Convert to FP64_BITS bits, collapsing error into bottom bit:
1754 // Normalise into FP64_BITS bits, collapsing error into bottom bit:
2374 return op & ~(1ULL << (FP64_BITS - 1));
2520 return fp16_pack(op >> (FP64_BITS - 1), FP16_EXP_INF,
2536 return fp32_pack(op >> (FP64_BITS - 1), FP32_EXP_INF,
3493 return op ^ 1ULL << (FP64_BITS - 1);
3610 (mnt >> (FP64_BITS - 8) & 127)];
3880 (mnt >> (FP64_BITS - 10) | 1) + 1) >> 1;
4222 uint64_t x = expint - exp >= FP64_BITS ? 0 : mnt >> (expint - exp);
4223 int err = exp < expint - FP64_BITS ? 1 :
4225 ((uint64_t)(mnt << 2 << (FP64_BITS + exp - expint)) != 0));
4448 fp64_muladd(coeff[op2 >> (FP64_BITS - 1)][coeff_index], op1,
4507 result = (result & ~(1ULL << (FP64_BITS - 1))) | op2 << (FP64_BITS - 1);
4542 return op1 ^ ((op2 >> 1) << (FP64_BITS - 1));
4549 int expmax = FP64_EXP_BIAS + FP64_BITS - 1;
4555 return ((uint64_t)!u << (FP64_BITS - 1)) - !sgn;
4582 if (u ? sgn && x : x > (1ULL << (FP64_BITS - 1)) - !sgn) {
4584 return ((uint64_t)!u << (FP64_BITS - 1)) - !sgn;
4831 int x_sgn = !u && a >> (FP64_BITS - 1);
4832 int x_exp = FP16_EXP_BIAS + FP64_BITS - 1 - fbits;
4842 x_mnt = (x_mnt >> (FP64_BITS - FP16_BITS - 1) |
4843 !!(x_mnt & ((1ULL << (FP64_BITS - FP16_BITS - 1)) - 1)));
4851 int x_sgn = !u && a >> (FP64_BITS - 1);
4852 int x_exp = FP32_EXP_BIAS + FP64_BITS - 1 - fbits;
4862 x_mnt = (x_mnt >> (FP64_BITS - FP32_BITS - 1) |
4863 !!(x_mnt & ((1ULL << (FP64_BITS - FP32_BITS - 1)) - 1)));
4871 int x_sgn = !u && a >> (FP64_BITS - 1);
4872 int x_exp = FP64_EXP_BIAS + FP64_BITS - 1 - fbits;