Searched refs:abs_value (Results 1 – 12 of 12) sorted by relevance
/external/XNNPACK/src/xnnpack/ |
D | scalar-utils.h | 90 const uint32_t abs_value = (value >= 0) ? (uint32_t) value : -(uint32_t) value; in scalar_requantize_precise() local 93 const uint64_t product = (uint64_t) abs_value * (uint64_t) multiplier; in scalar_requantize_precise()
|
/external/fmtlib/include/fmt/ |
D | format.h | 1489 auto abs_value = static_cast<uint32_or_64_or_128_t<Int>>(value); 1492 if (negative) abs_value = ~abs_value + 1; 1493 int num_digits = count_digits(abs_value); 1496 it = format_decimal<char_type>(it, abs_value, num_digits); 1505 unsigned_type abs_value; 1514 abs_value(static_cast<unsigned_type>(value)), 1519 abs_value = 0 - abs_value; 1527 unsigned_type abs_value; 1531 it = internal::format_decimal<char_type>(it, abs_value, num_digits); 1536 int num_digits = count_digits(abs_value); [all …]
|
D | format-inl.h | 155 auto abs_value = static_cast<uint32_or_64_or_128_t<int>>(error_code); in format_error_code() local 157 abs_value = 0 - abs_value; in format_error_code() 160 error_code_size += internal::to_unsigned(internal::count_digits(abs_value)); in format_error_code()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | init_ops_test.py | 784 abs_value = 0 797 abs_value += np.abs(determinant) 804 self.assertAllClose(abs_value, count, rtol=tol, atol=tol) 853 abs_value = 0 866 abs_value += np.abs(determinant) 873 self.assertAllClose(abs_value, count, rtol=tol, atol=tol) 1073 abs_value = 0 1086 abs_value += np.abs(determinant) 1093 self.assertAllClose(abs_value, count, rtol=tol, atol=tol)
|
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
D | nonlinear_beamformer.cc | 143 float abs_value = std::abs(mat_els[i][j]); in SumSquares() local 144 sum_squares += abs_value * abs_value; in SumSquares()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | elemental_ir_emitter.cc | 277 llvm::Value* abs_value = in EmitTanh() local 284 return FPCast(Select(FCmpULT(abs_value, max_value), fast_tanh, one_with_sign), in EmitTanh()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | literal_comparison.cc | 371 const double abs_value = FpAbsoluteValue(value); in UpdateAbsValueBucket() local 374 (abs_value >= kAbsValueBucketBounds[i] && in UpdateAbsValueBucket() 375 abs_value < kAbsValueBucketBounds[i + 1])) { in UpdateAbsValueBucket()
|
/external/v8/src/numbers/ |
D | conversions.cc | 1062 double abs_value = value; in DoubleToFixedCString() local 1064 abs_value = -value; in DoubleToFixedCString() 1070 if (abs_value >= kFirstNonFixed) { in DoubleToFixedCString()
|
/external/v8/src/objects/ |
D | bigint.cc | 896 digit_t abs_value = std::abs(static_cast<int64_t>(y_value)); in CompareToNumber() local 898 if (x_digit > abs_value) return AbsoluteGreater(x_sign); in CompareToNumber() 899 if (x_digit < abs_value) return AbsoluteLess(x_sign); in CompareToNumber()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 496 auto abs_value = llvm_ir::EmitCallToIntrinsic( in EmitFloatUnaryOp() local 499 auto not_infinite = FCmpONE(abs_value, infinity); in EmitFloatUnaryOp()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_shader.c | 9410 int abs_value = abs(value); in tgsi_atomic_op_gds() local 9411 if (abs_value != value && gds_op == FETCH_OP_GDS_ADD_RET) in tgsi_atomic_op_gds() 9418 alu.src[0].value = abs_value; in tgsi_atomic_op_gds()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cGPUShaderFP64Tests.cpp | 12692 const T abs_value = de::abs(t); in trunc() local 12693 const T result_value = floor(abs_value); in trunc()
|