Home
last modified time | relevance | path

Searched refs:halfway (Results 1 – 25 of 31) sorted by relevance

12

/external/angle/include/CL/
Dcl_half.h185 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/
Dcl_half.h185 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/
Derrors.rs40 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()
Drounding.rs72 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/
Dtjunittest.c109 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/
Dfp_trunc_impl.inc55 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/
Dfp_trunc_impl.inc56 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/
Dtest_long.py445 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/
Dtest_long.py753 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/
Dfloatingpoint.rst99 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/
Dhash_test.cc283 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/
Dhash_test.cc283 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/
Dhash_test.cc283 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/
DPathTest.cpp4135 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/
DPathTest.cpp4143 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/
Dhttp2-interop-test-descriptions.md103 RST_STREAM halfway through sending data to the client.
/external/mesa3d/src/compiler/nir/
Dnir_lower_int64.c732 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/
Dstyle-guide.txt222 "halfway out, turn with the current, and ride it all the way out "
/external/eigen/doc/
DCoeffwiseMathFunctionsTable.dox355 <td>nearest integer, \n rounding away from zero in halfway cases</td>
/external/python/cpython3/Doc/library/
Dmath.rst283 y``. If ``x / y`` is exactly halfway between two consecutive integers, the
/external/llvm-project/lldb/docs/use/
Dpython.rst277 We are halfway to figuring out what the problem is. We know the word we are
/external/python/cpython3/Doc/whatsnew/
D3.0.rst813 changed. Exact halfway cases are now rounded to the nearest even
/external/gptfdisk/
DNEWS416 disks, so I'm starting Midnight BSD's numbering halfway through the
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_overrides.txt1580 halfway → hˈæfwe
/external/icu/icu4j/main/shared/data/
DTransliterator_Han_Latin_Definition.txt7434 半途而廢 < give\-up\-halfway;
17171 半途 < halfway;
22796 半途而廢 > give\-up\-halfway;
32708 半途 > halfway;
32713 半路 > halfway;

12