Lines Matching refs:d_bits

262   const unsigned d_bits = sizeof(Td) * 8;  in Test1Op()  local
269 d_bits, in Test1Op()
274 printf("const uint%u_t kExpected_%s[] = {\n", d_bits, name); in Test1Op()
277 d_bits / 4, in Test1Op()
298 d_bits / 4, in Test1Op()
302 d_bits / 4, in Test1Op()
984 const unsigned d_bits = sizeof(Td) * 8; in TestFPToS() local
991 d_bits, in TestFPToS()
996 printf("const int%u_t kExpected_%s[] = {\n", d_bits, name); in TestFPToS()
1001 const int64_t int_d_max = (UINT64_C(1) << (d_bits - 1)) - 1; in TestFPToS()
1005 printf(" -INT%u_C(%" PRId64 ") - 1,\n", d_bits, int_d_max); in TestFPToS()
1012 printf(" INT%u_C(%" PRId64 "),\n", d_bits, result_int64); in TestFPToS()
1014 printf(" -INT%u_C(%" PRId64 "),\n", d_bits, -result_int64); in TestFPToS()
1036 d_bits / 4, in TestFPToS()
1040 d_bits / 4, in TestFPToS()
1073 const unsigned d_bits = sizeof(Td) * 8; in TestFPToU() local
1080 d_bits, in TestFPToU()
1085 printf("const uint%u_t kExpected_%s[] = {\n", d_bits, name); in TestFPToU()
1107 d_bits / 4, in TestFPToU()
1111 d_bits / 4, in TestFPToU()
1141 const unsigned d_bits = sizeof(Td) * 8; in TestFPToFixedS() local
1144 const unsigned results_length = inputs_length * (d_bits + 1); in TestFPToFixedS()
1151 d_bits, in TestFPToFixedS()
1156 printf("const int%u_t kExpected_%s[] = {\n", d_bits, name); in TestFPToFixedS()
1161 const int64_t int_d_max = (UINT64_C(1) << (d_bits - 1)) - 1; in TestFPToFixedS()
1165 printf(" -INT%u_C(%" PRId64 ") - 1,\n", d_bits, int_d_max); in TestFPToFixedS()
1172 printf(" INT%u_C(%" PRId64 "),\n", d_bits, result_int64); in TestFPToFixedS()
1174 printf(" -INT%u_C(%" PRId64 "),\n", d_bits, -result_int64); in TestFPToFixedS()
1186 for (unsigned fbits = 0; fbits <= d_bits; ++fbits, d++) { in TestFPToFixedS()
1199 d_bits / 4, in TestFPToFixedS()
1203 d_bits / 4, in TestFPToFixedS()
1234 const unsigned d_bits = sizeof(Td) * 8; in TestFPToFixedU() local
1237 const unsigned results_length = inputs_length * (d_bits + 1); in TestFPToFixedU()
1244 d_bits, in TestFPToFixedU()
1249 printf("const uint%u_t kExpected_%s[] = {\n", d_bits, name); in TestFPToFixedU()
1261 for (unsigned fbits = 0; fbits <= d_bits; ++fbits, d++) { in TestFPToFixedU()
1274 d_bits / 4, in TestFPToFixedU()
1278 d_bits / 4, in TestFPToFixedU()