Home
last modified time | relevance | path

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

1234

/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/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.h39 return DiyFp(Significand(), Exponent()); in AsDiyFp()
46 int e = Exponent(); in AsNormalizedDiyFp()
78 int Exponent() const { in Exponent() function
125 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/antlr-3.4/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/antlr-3.4/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')+ ;
DPython.g479 : '.' DIGITS (Exponent)?
480 | DIGITS ('.' (DIGITS (Exponent)?)? | Exponent)
488 Exponent
/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/tensorflow/tensorflow/core/kernels/
Dcwise_ops.h105 template <typename Scalar, typename Exponent>
109 const Exponent& b) const {
114 template <typename Scalar, typename Exponent>
115 struct functor_traits<scalar_binary_pow_op_google<Scalar, Exponent>> {
119 template <typename Scalar, typename Exponent>
122 static_assert(std::is_integral<Exponent>::value &&
123 std::is_signed<Exponent>::value,
132 const Exponent& b) const {
133 const Exponent safe_b = tensorflow::internal::SubtleMustCopy(b);
143 template <typename Scalar, typename Exponent>
[all …]
/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/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/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/python/cpython3/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-subzero/include/llvm/Support/
DNativeFormatting.h19 enum class FloatStyle { Exponent, ExponentUpper, Fixed, Percent }; enumerator
/external/llvm/lib/Target/PowerPC/
Dp9-instrs.txt296 // VSX Scalar Insert Exponent Double-Precision X-form 588
297 // VSX Scalar Insert Exponent Quad-Precision X-form 589
301 // VSX Vector Insert Exponent Double-Precision XX3-form 722
308 // VSX Scalar Extract Exponent Double-Precision XX2-form 676
314 // VSX Vector Extract Exponent Double-Precision XX2-form 784
/external/python/cpython3/Lib/
Dtokenize.py128 Exponent = r'[eE][-+]?[0-9](?:_?[0-9])*' variable
130 r'\.[0-9](?:_?[0-9])*') + maybe(Exponent)
131 Expfloat = r'[0-9](?:_?[0-9])*' + Exponent
/external/conscrypt/openjdk/src/test/resources/
Dca-cert.pem24 Exponent: 65537 (0x10001)
Dcert.pem24 Exponent: 65537 (0x10001)
/external/autotest/client/site_tests/security_OpenSSLRegressions/src/
Dcert.pem25 Exponent: 65537 (0x10001)
/external/clang/lib/Lex/
DLiteralSupport.cpp716 const char *Exponent = s; in ParseDecimalOrOctalCommon() local
726 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, Exponent-ThisTokBegin), in ParseDecimalOrOctalCommon()
819 const char *Exponent = s; in ParseNumberStartingWithZero() local
825 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, Exponent-ThisTokBegin), in ParseNumberStartingWithZero()

1234