Home
last modified time | relevance | path

Searched refs:abs_value (Results 1 – 12 of 12) sorted by relevance

/external/XNNPACK/src/xnnpack/
Dscalar-utils.h90 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/
Dformat.h1489 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 …]
Dformat-inl.h155 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/
Dinit_ops_test.py784 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/
Dnonlinear_beamformer.cc143 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/
Delemental_ir_emitter.cc277 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/
Dliteral_comparison.cc371 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/
Dconversions.cc1062 double abs_value = value; in DoubleToFixedCString() local
1064 abs_value = -value; in DoubleToFixedCString()
1070 if (abs_value >= kFirstNonFixed) { in DoubleToFixedCString()
/external/v8/src/objects/
Dbigint.cc896 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/
Delemental_ir_emitter.cc496 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/
Dr600_shader.c9410 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/
Dgl4cGPUShaderFP64Tests.cpp12692 const T abs_value = de::abs(t); in trunc() local
12693 const T result_value = floor(abs_value); in trunc()