/external/angle/include/CL/ |
D | cl_half.h | 185 uint32_t halfway = 1 << (lsb_pos - 1); in cl_half_from_float() local 186 uint32_t mask = (halfway << 1) - 1; in cl_half_from_float() 190 if ((f_mant & mask) > halfway) in cl_half_from_float() 195 else if ((f_mant & mask) == halfway) in cl_half_from_float() 311 uint64_t halfway = (uint64_t)1 << (lsb_pos - 1); in cl_half_from_double() local 312 uint64_t mask = (halfway << 1) - 1; in cl_half_from_double() 316 if ((d_mant & mask) > halfway) in cl_half_from_double() 321 else if ((d_mant & mask) == halfway) in cl_half_from_double()
|
/external/OpenCL-CTS/dependencies/ocl-headers/CL/ |
D | cl_half.h | 185 uint32_t halfway = 1 << (lsb_pos - 1); in cl_half_from_float() local 186 uint32_t mask = (halfway << 1) - 1; in cl_half_from_float() 190 if ((f_mant & mask) > halfway) in cl_half_from_float() 195 else if ((f_mant & mask) == halfway) in cl_half_from_float() 311 uint64_t halfway = (uint64_t)1 << (lsb_pos - 1); in cl_half_from_double() local 312 uint64_t mask = (halfway << 1) - 1; in cl_half_from_double() 316 if ((d_mant & mask) > halfway) in cl_half_from_double() 321 else if ((d_mant & mask) == halfway) in cl_half_from_double()
|
/external/rust/crates/serde_json/src/lexical/ |
D | errors.rs | 40 let halfway: u64 = lower_n_halfway(extrabits); in nearest_error_is_accurate() localVariable 41 let cmp1 = halfway.wrapping_sub(errors) < extra; in nearest_error_is_accurate() 42 let cmp2 = extra < halfway.wrapping_add(errors); in nearest_error_is_accurate()
|
D | rounding.rs | 72 let halfway: u64 = lower_n_halfway(shift as u64); in round_nearest() localVariable 75 let is_above = truncated_bits > halfway; in round_nearest() 76 let is_halfway = truncated_bits == halfway; in round_nearest()
|
/external/libjpeg-turbo/ |
D | tjunittest.c | 109 int index, row, col, halfway = 16; in initBuf() local 118 buf[index] = (row < halfway) ? 255 : 0; in initBuf() 119 else buf[index] = (row < halfway) ? 76 : 226; in initBuf() 129 if (row >= halfway) buf[index * ps + 3] = 0; in initBuf() 132 if (row < halfway) buf[index * ps + 1] = 0; in initBuf() 143 if (row < halfway) { in initBuf() 150 if (row >= halfway) buf[index * ps + goffset] = 255; in initBuf() 192 int halfway = 16 * sf.num / sf.denom; in checkBuf() local 210 if (row < halfway) CHECKVAL255(k) in checkBuf() 214 if (row < halfway) CHECKVAL0(m) in checkBuf() [all …]
|
/external/llvm-project/compiler-rt/lib/builtins/ |
D | fp_trunc_impl.inc | 55 const src_rep_t halfway = SRC_REP_C(1) << (srcSigBits - dstSigBits - 1); 87 if (roundBits > halfway) 90 else if (roundBits == halfway) 121 if (roundBits > halfway) 124 else if (roundBits == halfway)
|
/external/compiler-rt/lib/builtins/ |
D | fp_trunc_impl.inc | 56 const src_rep_t halfway = SRC_REP_C(1) << (srcSigBits - dstSigBits - 1); 88 if (roundBits > halfway) 91 else if (roundBits == halfway) 124 if (roundBits > halfway) 127 else if (roundBits == halfway)
|
/external/python/cpython3/Lib/test/ |
D | test_long.py | 445 halfway = (int_dbl_max + top_power)//2 448 self.assertEqual(float(halfway-1), DBL_MAX) 449 self.assertRaises(OverflowError, float, halfway) 450 self.assertEqual(float(1-halfway), -DBL_MAX) 451 self.assertRaises(OverflowError, float, -halfway) 472 halfway-1, halfway, halfway + 1,
|
/external/python/cpython2/Lib/test/ |
D | test_long.py | 753 halfway = (long_dbl_max + top_power)//2 756 self.assertEqual(float(halfway-1), DBL_MAX) 757 self.assertRaises(OverflowError, float, halfway) 758 self.assertEqual(float(1-halfway), -DBL_MAX) 759 self.assertRaises(OverflowError, float, -halfway)
|
/external/python/cpython2/Doc/tutorial/ |
D | floatingpoint.rst | 99 2.675 is exactly halfway between 2.67 and 2.68, you might expect the result 109 If you're in a situation where you care which way your decimal halfway-cases
|
/external/libtextclassifier/abseil-cpp/absl/hash/ |
D | hash_test.cc | 283 size_t halfway = sv.size() / 2; in FragmentedCord() local 284 std::vector<absl::string_view> parts = {sv.substr(0, halfway), in FragmentedCord() 285 sv.substr(halfway)}; in FragmentedCord()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/hash/ |
D | hash_test.cc | 283 size_t halfway = sv.size() / 2; in FragmentedCord() local 284 std::vector<absl::string_view> parts = {sv.substr(0, halfway), in FragmentedCord() 285 sv.substr(halfway)}; in FragmentedCord()
|
/external/openscreen/third_party/abseil/src/absl/hash/ |
D | hash_test.cc | 283 size_t halfway = sv.size() / 2; in FragmentedCord() local 284 std::vector<absl::string_view> parts = {sv.substr(0, halfway), in FragmentedCord() 285 sv.substr(halfway)}; in FragmentedCord()
|
/external/skqp/tests/ |
D | PathTest.cpp | 4135 SkPoint halfway; in test_contains() local 4137 SkEvalQuadAt(&qPts[index], 0.5f, &halfway, nullptr); in test_contains() 4138 REPORTER_ASSERT(reporter, p.contains(halfway.fX, halfway.fY)); in test_contains() 4153 halfway = conic.evalAt(0.5f); in test_contains() 4154 REPORTER_ASSERT(reporter, p.contains(halfway.fX, halfway.fY)); in test_contains() 4173 SkEvalCubicAt(&pts[i], 0.5f, &halfway, nullptr, nullptr); in test_contains() 4174 REPORTER_ASSERT(reporter, p.contains(halfway.fX, halfway.fY)); in test_contains() 4175 SkEvalCubicAt(&pts[i + 3], 0.5f, &halfway, nullptr, nullptr); in test_contains() 4176 REPORTER_ASSERT(reporter, p.contains(halfway.fX, halfway.fY)); in test_contains()
|
/external/skia/tests/ |
D | PathTest.cpp | 4143 SkPoint halfway; in test_contains() local 4145 SkEvalQuadAt(&qPts[index], 0.5f, &halfway, nullptr); in test_contains() 4146 REPORTER_ASSERT(reporter, p.contains(halfway.fX, halfway.fY)); in test_contains() 4161 halfway = conic.evalAt(0.5f); in test_contains() 4162 REPORTER_ASSERT(reporter, p.contains(halfway.fX, halfway.fY)); in test_contains() 4181 SkEvalCubicAt(&pts[i], 0.5f, &halfway, nullptr, nullptr); in test_contains() 4182 REPORTER_ASSERT(reporter, p.contains(halfway.fX, halfway.fY)); in test_contains() 4183 SkEvalCubicAt(&pts[i + 3], 0.5f, &halfway, nullptr, nullptr); in test_contains() 4184 REPORTER_ASSERT(reporter, p.contains(halfway.fX, halfway.fY)); in test_contains()
|
/external/grpc-grpc/doc/ |
D | http2-interop-test-descriptions.md | 103 RST_STREAM halfway through sending data to the client.
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_int64.c | 732 nir_ssa_def *halfway = nir_iand(b, COND_LOWER_CMP(b, ieq, rem, half), in lower_2f() local 736 nir_iand(b, halfway, is_odd)); in lower_2f()
|
/external/ltp/doc/ |
D | style-guide.txt | 222 "halfway out, turn with the current, and ride it all the way out "
|
/external/eigen/doc/ |
D | CoeffwiseMathFunctionsTable.dox | 355 <td>nearest integer, \n rounding away from zero in halfway cases</td>
|
/external/python/cpython3/Doc/library/ |
D | math.rst | 283 y``. If ``x / y`` is exactly halfway between two consecutive integers, the
|
/external/llvm-project/lldb/docs/use/ |
D | python.rst | 277 We are halfway to figuring out what the problem is. We know the word we are
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.0.rst | 813 changed. Exact halfway cases are now rounded to the nearest even
|
/external/gptfdisk/ |
D | NEWS | 416 disks, so I'm starting Midnight BSD's numbering halfway through the
|
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/ |
D | internal_overrides.txt | 1580 halfway → hˈæfwe
|
/external/icu/icu4j/main/shared/data/ |
D | Transliterator_Han_Latin_Definition.txt | 7434 半途而廢 < give\-up\-halfway; 17171 半途 < halfway; 22796 半途而廢 > give\-up\-halfway; 32708 半途 > halfway; 32713 半路 > halfway;
|