Home
last modified time | relevance | path

Searched refs:Precision (Results 1 – 25 of 113) sorted by relevance

12345

/external/llvm/lib/Support/
DScaledNumber.cpp162 static std::string toStringAPFloat(uint64_t D, int E, unsigned Precision) { in toStringAPFloat() argument
187 Float.toString(Chars, Precision, 0); in toStringAPFloat()
202 unsigned Precision) { in toString() argument
235 return toStringAPFloat(D, E, Precision); in toString()
278 (!Precision || DigitsOut <= Precision || SinceDot < 2)); in toString()
281 if (!Precision || DigitsOut <= Precision) in toString()
286 std::max(Str.size() - (DigitsOut - Precision), AfterDot + 1); in toString()
316 int Width, unsigned Precision) { in print() argument
317 return OS << toString(D, E, Width, Precision); in print()
/external/eigen/unsupported/Eigen/
DMPRealSupport76 …inline static Real highest (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::…
77 …inline static Real lowest (long Precision = mpfr::mpreal::get_default_prec()) { return -mpfr::…
80 …nline static Real Pi (long Precision = mpfr::mpreal::get_default_prec()) { return mpf…
81 …line static Real Euler (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr…
82 …line static Real Log2 (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr…
83 …ine static Real Catalan (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr:…
85 …ne static Real epsilon (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::…
/external/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp127 inline bool supportsSignedZero (glu::Precision precision) in supportsSignedZero()
153 static int getMinMantissaBits (glu::Precision precision) in getMinMantissaBits()
166 static int getMaxNormalizedValueExponent (glu::Precision precision) in getMaxNormalizedValueExponent()
179 static int getMinNormalizedValueExponent (glu::Precision precision) in getMinNormalizedValueExponent()
192 static float makeFloatRepresentable (float f, glu::Precision precision) in makeFloatRepresentable()
463 static const char* getPrecisionPostfix (glu::Precision precision) in getPrecisionPostfix()
491 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::Sh… in getCommonFuncCaseName()
499 …AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shade… in AbsCase()
524 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
536 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
[all …]
Des31fShaderIntegerFunctionTests.cpp111 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) in getShaderUintBitCount()
137 …::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUin… in generateRandomInputData()
322 static const char* getPrecisionPostfix (glu::Precision precision) in getPrecisionPostfix()
350 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::S… in getIntegerFuncCaseName()
358 …UaddCarryCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType… in UaddCarryCase()
372 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
426 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
454 …UsubBorrowCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderTyp… in UsubBorrowCase()
468 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
520 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
[all …]
Des31fShaderAtomicOpTests.cpp68 …me, const char* funcName, AtomicOperandType operandType, DataType type, Precision precision, const…
82 const Precision m_precision;
96 …me, const char* funcName, AtomicOperandType operandType, DataType type, Precision precision, const… in ShaderAtomicOpCase()
258 …text& context, const char* name, AtomicOperandType operandType, DataType type, Precision precision) in ShaderAtomicAddCase()
347 static int getPrecisionNumIntegerBits (glu::Precision precision) in getPrecisionNumIntegerBits()
366 static bool intEqualsAfterUintCast (deInt32 value, deUint32 casted, glu::Precision precision) in intEqualsAfterUintCast()
393 …ontainsAfterUintCast (const std::set<deInt32>& haystack, deUint32 needle, glu::Precision precision) in containsAfterUintCast()
401 …ontainsAfterUintCast (const std::set<deUint32>& haystack, deInt32 needle, glu::Precision precision) in containsAfterUintCast()
412 …text& context, const char* name, AtomicOperandType operandType, DataType type, Precision precision) in ShaderAtomicMinCase()
493 …text& context, const char* name, AtomicOperandType operandType, DataType type, Precision precision) in ShaderAtomicMaxCase()
[all …]
Des31fShaderSharedVarTests.cpp74 …SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, …
86 const Precision m_precision;
92 static std::string getBasicCaseDescription (DataType basicType, Precision precision, const tcu::UVe… in getBasicCaseDescription()
101 …edBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, const… in SharedBasicVarCase()
380 …me = string(getDataTypeName(DataType(basicType))) + "_" + getPrecisionName(Precision(precision)); in init()
382 …ld(new SharedBasicVarCase(m_context, name.c_str(), DataType(basicType), Precision(precision), work… in init()
Des31fShaderPackingFunctionTests.cpp120 static const char* getPrecisionPostfix (glu::Precision precision) in getPrecisionPostfix()
151 PackSnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) in PackSnorm2x16Case()
249 glu::Precision m_precision;
342 PackUnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) in PackUnorm2x16Case()
440 glu::Precision m_precision;
749 PackSnorm4x8Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) in PackSnorm4x8Case()
857 glu::Precision m_precision;
958 PackUnorm4x8Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) in PackUnorm4x8Case()
1066 glu::Precision m_precision;
1191 addChild(new PackSnorm4x8Case(m_context, allShaderTypes[shaderTypeNdx], glu::Precision(prec))); in init()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp123 inline bool supportsSignedZero (glu::Precision precision) in supportsSignedZero()
149 static int getMinMantissaBits (glu::Precision precision) in getMinMantissaBits()
390 static const char* getPrecisionPostfix (glu::Precision precision) in getPrecisionPostfix()
414 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::Sh… in getCommonFuncCaseName()
422 …AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shade… in AbsCase()
447 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
459 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
504 …SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shad… in SignCase()
529 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
552 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
[all …]
Des3fShaderPrecisionTests.cpp64 …reateFloatPrecisionEvalProgram (const glu::RenderContext& context, glu::Precision precision, const… in createFloatPrecisionEvalProgram()
124 …valProgram (const glu::RenderContext& context, glu::DataType type, glu::Precision precision, const… in createIntUintPrecisionEvalProgram()
182 …t char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, const…
220 glu::Precision m_precision;
236 …t char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, const… in ShaderFloatPrecisionCase()
457 …t char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int b…
471 glu::Precision m_precision;
488 …t char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int b… in ShaderIntPrecisionCase()
656 …t char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int b…
670 glu::Precision m_precision;
[all …]
Des3fShaderDerivateTests.cpp222 static int getNumMantissaBits (const glu::Precision precision) in getNumMantissaBits()
235 static int getMinExponent (const glu::Precision precision) in getMinExponent()
326 static inline tcu::Vec4 getDerivateThreshold (const glu::Precision precision, const tcu::Vec4& valu… in getDerivateThreshold()
440 glu::Precision precision, in reverifyConstantDerivateWithFlushRelaxations()
575 glu::Precision m_precision;
578 glu::Precision m_coordPrecision;
610 static std::string genVertexSource (glu::DataType coordType, glu::Precision precision) in genVertexSource()
939 …e, const char* description, DerivateFunc func, glu::DataType type, glu::Precision precision, deUin…
952 …e, const char* description, DerivateFunc func, glu::DataType type, glu::Precision precision, deUin… in LinearDerivateCase()
1138 …e, const char* description, DerivateFunc func, glu::DataType type, glu::Precision precision, deUin…
[all …]
Des3fFragmentOutputTests.cpp103 …FragmentOutput (glu::DataType type_, glu::Precision precision_, int location_, int arrayLength_ = … in FragmentOutput()
112 glu::Precision precision;
339 static Vec2 getFloatRange (glu::Precision precision) in getFloatRange()
353 static IVec2 getIntRange (glu::Precision precision) in getIntRange()
366 static UVec2 getUintRange (glu::Precision precision) in getUintRange()
474 glu::Precision outPrecision;
880 const glu::Precision outPrecision = attachments[attachNdx].outPrecision; in iterate()
987 static const glu::Precision precisions[] = in createRandomCase()
1056 …glu::Precision precision = rnd.choose<glu::Precision>(&precisions[0], &precisions[0] + DE_LENGTH_… in createRandomCase()
1143 static const glu::Precision precisions[] = in init()
[all …]
Des3fShaderInvarianceTests.cpp468 glu::Precision prec; in init()
493 const glu::Precision precision = precisions[precNdx].prec; in init()
638 const char* const unrelatedPrec = glu::getPrecisionName((glu::Precision)precisionOther); in init()
639 …const glu::Precision minPrecision = (precisionOther < (int)precision) ? ((glu::Precision)precis… in init()
Des3fTransformFeedbackTests.cpp540 const glu::Precision precision = attrib.type.getPrecision(); in genAttributeData()
727 glu::Precision precision = attribute.type.getPrecision(); in compareTransformFeedbackOutput()
1337 …, deUint32 bufferType, deUint32 primitiveType, glu::DataType type, glu::Precision precision, Inter… in BasicTypeCase()
1351 …, deUint32 bufferType, deUint32 primitiveType, glu::DataType type, glu::Precision precision, Inter… in BasicArrayCase()
1376 …, deUint32 bufferType, deUint32 primitiveType, glu::DataType type, glu::Precision precision, Inter… in ArrayElementCase()
1428 static const glu::Precision precisions[] = in init()
1469 …glu::Precision precision = rnd.choose<glu::Precision>(&precisions[0], &precisions[0]+DE_LENGTH_O… in init()
1598 static const glu::Precision precisions[] = in init()
1670 glu::Precision precision = precisions[precNdx]; in init()
1704 glu::Precision precision = precisions[precNdx]; in init()
[all …]
/external/deqp/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp103 …InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precisio…
109 glu::Precision m_precision;
115 …olationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const… in InterpolationCase()
128 static bool isValidFloat (glu::Precision precision, float val) in isValidFloat()
143 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec) in isValidFloatVec()
308 glu::Precision minPrecision; in init()
327 …string baseName = string(glu::getPrecisionName((glu::Precision)precision)) + "_" + coordRanges[coo… in init()
329 …addChild(new InterpolationCase(m_context, baseName.c_str(), "", (glu::Precision)precision, coor… in init()
330 …addChild(new InterpolationCase(m_context, (baseName + "_proj").c_str(), "", (glu::Precision)precis… in init()
/external/deqp/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp100 …InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precisio…
106 glu::Precision m_precision;
112 …olationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const… in InterpolationCase()
125 static bool isValidFloat (glu::Precision precision, float val) in isValidFloat()
140 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec) in isValidFloatVec()
301 glu::Precision minPrecision; in init()
320 …string baseName = string(glu::getPrecisionName((glu::Precision)precision)) + "_" + coordRanges[coo… in init()
322 …addChild(new InterpolationCase(m_context, baseName.c_str(), "", (glu::Precision)precision, coor… in init()
323 …addChild(new InterpolationCase(m_context, (baseName + "_proj").c_str(), "", (glu::Precision)precis… in init()
/external/mesa3d/src/mesa/program/
Dprogram_parse_extra.c44 inst->Precision = FLOAT32; in _mesa_parse_instruction_suffix()
53 inst->Precision = FLOAT16; in _mesa_parse_instruction_suffix()
57 inst->Precision = FLOAT32; in _mesa_parse_instruction_suffix()
61 inst->Precision = FIXED12; in _mesa_parse_instruction_suffix()
/external/deqp/framework/randomshaders/
DrsgVariableType.hpp53 enum Precision enum in rsg::VariableType
138 Precision getPrecision (void) const { return m_precision; } in getPrecision()
170 Precision m_precision;
/external/deqp/framework/opengl/
DgluVarType.hpp53 VarType (DataType basicType, Precision precision); //!< Basic type constructor.
63 Precision getPrecision (void) const { DE_ASSERT(isBasicType()); return m_data.basic.precision; } in getPrecision()
99 Precision precision;
121 inline VarType varTypeOf (Precision prec = PRECISION_LAST) { return VarType(dataTypeOf<T>(), prec);… in varTypeOf()
DgluShaderUtil.hpp82 enum Precision enum
91 const char* getPrecisionName (Precision precision);
/external/deqp/modules/gles2/functional/
Des2fShaderInvarianceTests.cpp466 glu::Precision prec; in init()
491 const glu::Precision precision = precisions[precNdx].prec; in init()
636 const char* const unrelatedPrec = glu::getPrecisionName((glu::Precision)precisionOther); in init()
637 …const glu::Precision minPrecision = (precisionOther < (int)precision) ? ((glu::Precision)precis… in init()
/external/clang/include/clang/Analysis/Analyses/
DFormatString.h438 OptionalAmount Precision; variable
484 Precision = Amt; in setPrecision()
485 Precision.setUsesDotPrefix(); in setPrecision()
489 return Precision; in getPrecision()
/external/llvm/lib/Target/ARM/
DARMScheduleV6.td216 // Single-Precision FP to Integer Convert
219 // Double-Precision FP to Integer Convert
222 // Integer to Single-Precision FP Convert
225 // Integer to Double-Precision FP Convert
/external/llvm/include/llvm/Support/
DScaledNumber.h426 unsigned Precision);
428 unsigned Precision);
596 std::string toString(unsigned Precision = DefaultPrecision) {
597 return ScaledNumberBase::toString(Digits, Scale, Width, Precision);
604 unsigned Precision = DefaultPrecision) const {
605 return ScaledNumberBase::print(OS, Digits, Scale, Width, Precision);
/external/eigen/cmake/
DFindGMP.cmake1 # Try to find the GNU Multiple Precision Arithmetic Library (GMP)
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_context.c256 ctx->Const.FragmentProgram.MediumFloat.Precision = 23; in i915CreateContext()
261 ctx->Const.FragmentProgram.MediumInt.Precision = 0; in i915CreateContext()

12345