Home
last modified time | relevance | path

Searched refs:Exponent (Results 1 – 25 of 103) sorted by relevance

12345

/external/gemmlowp/fixedpoint/
Dfixedpoint_msa.h273 template <int Exponent>
274 struct ImplSaturatingRoundingMultiplyByPOT<Exponent, v4i32, 1> {
276 static_assert(Exponent >= 0 && Exponent < 32, "");
277 if (Exponent < 5) {
278 for (int i = 0; i < Exponent; i++) {
285 v4i32 res = __builtin_msa_sat_s_w(x, 31 - Exponent);
292 res = __builtin_msa_slli_w(res, Exponent);
301 template <int Exponent>
302 struct ImplSaturatingRoundingMultiplyByPOT<Exponent, v8i16, 1> {
304 static_assert(Exponent >= 0 && Exponent < 16, "");
[all …]
Dfixedpoint_neon.h285 template <int Exponent>
286 struct ImplSaturatingRoundingMultiplyByPOT<Exponent, int32x4_t, 1> {
287 static int32x4_t eval(int32x4_t x) { return vqshlq_n_s32(x, Exponent); }
290 template <int Exponent>
291 struct ImplSaturatingRoundingMultiplyByPOT<Exponent, int32x4_t, -1> {
295 return vrshrq_n_s32(fixed_up_x, -Exponent);
299 template <int Exponent>
300 struct ImplSaturatingRoundingMultiplyByPOT<Exponent, int16x8_t, 1> {
301 static int16x8_t eval(int16x8_t x) { return vqshlq_n_s16(x, Exponent); }
304 template <int Exponent>
[all …]
Dfixedpoint.h352 template <int Exponent, typename IntegerType,
353 int ExponentSign = (Exponent > 0 ? 1 : Exponent < 0 ? -1 : 0)>
356 template <int Exponent, typename IntegerType>
357 struct ImplSaturatingRoundingMultiplyByPOT<Exponent, IntegerType, 0> {
361 template <int Exponent, typename IntegerType>
362 struct ImplSaturatingRoundingMultiplyByPOT<Exponent, IntegerType, 1> {
373 ((1 << (ScalarIntegerTypeBits - 1 - Exponent)) - 1);
379 IntegerType result = ShiftLeft(x, Exponent);
386 template <int Exponent, typename IntegerType>
387 struct ImplSaturatingRoundingMultiplyByPOT<Exponent, IntegerType, -1> {
[all …]
/external/icu/icu4c/source/i18n/
Ddouble-conversion-ieee.h76 return DiyFp(Significand(), Exponent()); in AsDiyFp()
83 int e = Exponent(); in AsNormalizedDiyFp()
125 int Exponent() const { in Exponent() function
178 return DiyFp(Significand() * 2 + 1, Exponent() - 1); in UpperBoundary()
211 return physical_significand_is_zero && (Exponent() != kDenormalExponent); in LowerBoundaryIsCloser()
295 return DiyFp(Significand(), Exponent()); in AsDiyFp()
303 int Exponent() const { in Exponent() function
376 return DiyFp(Significand() * 2 + 1, Exponent() - 1); in UpperBoundary()
389 return physical_significand_is_zero && (Exponent() != kDenormalExponent); in LowerBoundaryIsCloser()
/external/v8/src/
Dbignum-dtoa.cc73 int exponent = Double(v).Exponent(); in BignumDtoa()
390 numerator->ShiftLeft(Double(v).Exponent()); in InitialScaledStartValuesPositiveExponent()
402 delta_plus->ShiftLeft(Double(v).Exponent()); in InitialScaledStartValuesPositiveExponent()
405 delta_minus->ShiftLeft(Double(v).Exponent()); in InitialScaledStartValuesPositiveExponent()
430 int exponent = Double(v).Exponent(); in InitialScaledStartValuesNegativeExponentPositivePower()
482 int exponent = Double(v).Exponent(); in InitialScaledStartValuesNegativeExponentNegativePower()
578 if (Double(v).Exponent() >= 0) { in InitialScaledStartValues()
Ddouble.h43 return DiyFp(Significand(), Exponent()); in AsDiyFp()
50 int e = Exponent(); in AsNormalizedDiyFp()
82 int Exponent() const { in Exponent() function
129 return DiyFp(Significand() * 2 + 1, Exponent() - 1); in UpperBoundary()
/external/pdfium/third_party/lcms/src/
Dcmshalf.c394 static cmsUInt32Number Exponent[64] = { variable
515 out.num = Mantissa[ (h & 0x3ff) + Offset[ n ] ] + Exponent[ n ]; in _cmsHalf2Float()
/external/antlr/runtime/Python3/tests/
Dt033backtracking.g470 : ('0'..'9')+ '.' ('0'..'9')* Exponent? FloatTypeSuffix?
471 | '.' ('0'..'9')+ Exponent? FloatTypeSuffix?
472 | ('0'..'9')+ Exponent FloatTypeSuffix?
473 | ('0'..'9')+ Exponent? FloatTypeSuffix
477 Exponent : ('e'|'E') ('+'|'-')? ('0'..'9')+ ;
/external/antlr/runtime/Python/tests/
Dt033backtracking.g489 : ('0'..'9')+ '.' ('0'..'9')* Exponent? FloatTypeSuffix?
490 | '.' ('0'..'9')+ Exponent? FloatTypeSuffix?
491 | ('0'..'9')+ Exponent FloatTypeSuffix?
492 | ('0'..'9')+ Exponent? FloatTypeSuffix
496 Exponent : ('e'|'E') ('+'|'-')? ('0'..'9')+ ;
/external/antlr/runtime/Cpp/tests/
Dt033backtracking.g483 : ('0'..'9')+ '.' ('0'..'9')* Exponent? FloatTypeSuffix?
484 | '.' ('0'..'9')+ Exponent? FloatTypeSuffix?
485 | ('0'..'9')+ Exponent FloatTypeSuffix?
486 | ('0'..'9')+ Exponent? FloatTypeSuffix
490 Exponent : ('e'|'E') ('+'|'-')? ('0'..'9')+ ;
/external/antlr/runtime/JavaScript/tests/functional/
Dt033backtracking.g474 : ('0'..'9')+ '.' ('0'..'9')* Exponent? FloatTypeSuffix?
475 | '.' ('0'..'9')+ Exponent? FloatTypeSuffix?
476 | ('0'..'9')+ Exponent FloatTypeSuffix?
477 | ('0'..'9')+ Exponent? FloatTypeSuffix
481 Exponent : ('e'|'E') ('+'|'-')? ('0'..'9')+ ;
/external/eigen/Eigen/src/Core/functors/
DBinaryFunctors.h298 template<typename Scalar, typename Exponent>
299 struct scalar_pow_op : binary_op_base<Scalar,Exponent>
301 typedef typename ScalarBinaryOpTraits<Scalar,Exponent,scalar_pow_op>::ReturnType result_type;
307 typedef Exponent RhsScalar;
312 …inline result_type operator() (const Scalar& a, const Exponent& b) const { return numext::pow(a, b…
314 template<typename Scalar, typename Exponent>
315 struct functor_traits<scalar_pow_op<Scalar,Exponent> > {
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DNativeFormatTests.cpp98 EXPECT_EQ("0.000000e+00", format_number(0.0, FloatStyle::Exponent)); in TEST()
99 EXPECT_EQ("-0.000000e+00", format_number(-0.0, FloatStyle::Exponent)); in TEST()
100 EXPECT_EQ("1.100000e+00", format_number(1.1, FloatStyle::Exponent)); in TEST()
/external/python/cpython2/Tools/scripts/
Dfixcid.py207 Exponent = '[eE][-+]?[0-9]+' variable
208 Pointfloat = r'([0-9]+\.[0-9]*|\.[0-9]+)(' + Exponent + r')?'
209 Expfloat = '[0-9]+' + Exponent
/external/python/cpython3/Tools/scripts/
Dfixcid.py207 Exponent = '[eE][-+]?[0-9]+' variable
208 Pointfloat = r'([0-9]+\.[0-9]*|\.[0-9]+)(' + Exponent + r')?'
209 Expfloat = '[0-9]+' + Exponent
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DNativeFormatting.cpp177 if (Style == FloatStyle::Exponent) in write_double()
188 if (Style == FloatStyle::Exponent || Style == FloatStyle::ExponentUpper) { in write_double()
259 case FloatStyle::Exponent: in getDefaultPrecision()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DNativeFormatting.cpp177 if (Style == FloatStyle::Exponent) in write_double()
188 if (Style == FloatStyle::Exponent || Style == FloatStyle::ExponentUpper) { in write_double()
256 case FloatStyle::Exponent: in getDefaultPrecision()
/external/python/cpython2/Lib/
Dtokenize.py59 Exponent = r'[eE][-+]?\d+' variable
60 Pointfloat = group(r'\d+\.\d*', r'\.\d+') + maybe(Exponent)
61 Expfloat = r'\d+' + Exponent
/external/python/cpython2/Lib/lib2to3/pgen2/
Dtokenize.py62 Exponent = r'[eE][-+]?\d+' variable
63 Pointfloat = group(r'\d+\.\d*', r'\.\d+') + maybe(Exponent)
64 Expfloat = r'\d+' + Exponent
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp609 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2()); in emitBump() local
610 return Builder.CreateShl(ExtendedStride, Exponent); in emitBump()
614 ConstantInt *Exponent = in emitBump() local
616 return Builder.CreateNeg(Builder.CreateShl(ExtendedStride, Exponent)); in emitBump()
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp575 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2()); in emitBump() local
576 return Builder.CreateShl(ExtendedStride, Exponent); in emitBump()
580 ConstantInt *Exponent = in emitBump() local
582 return Builder.CreateNeg(Builder.CreateShl(ExtendedStride, Exponent)); in emitBump()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DNativeFormatting.h19 enum class FloatStyle { Exponent, ExponentUpper, Fixed, Percent }; enumerator
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DNativeFormatting.h19 enum class FloatStyle { Exponent, ExponentUpper, Fixed, Percent }; enumerator
/external/python/cpython3/Lib/lib2to3/pgen2/
Dtokenize.py66 Exponent = r'[eE][-+]?\d+(?:_\d+)*' variable
67 Pointfloat = group(r'\d+(?:_\d+)*\.(?:\d+(?:_\d+)*)?', r'\.\d+(?:_\d+)*') + maybe(Exponent)
68 Expfloat = r'\d+(?:_\d+)*' + Exponent
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Drandom_ops.cc122 constexpr int Exponent = 3; in Compile() local
124 std::ceil(Exponent * std::log(num_elements) / std::log(kuint32max))); in Compile()

12345