Lines Matching refs:FloatFormat
95 using tcu::FloatFormat;
256 void printIVal (const FloatFormat& fmt, const typename Traits<T>::IVal& ival, ostream& os) in printIVal()
262 string intervalToString (const FloatFormat& fmt, const typename Traits<T>::IVal& ival) in intervalToString()
271 void printValue (const FloatFormat& fmt, const T& value, ostream& os) in printValue()
277 string valueToString (const FloatFormat& fmt, const T& val) in valueToString()
288 typename Traits<T>::IVal round (const FloatFormat& fmt, const T& value) in round()
294 typename Traits<T>::IVal convert (const FloatFormat& fmt, in convert()
328 static Interval doConvert (const FloatFormat& fmt, const IVal& ival) in doConvert()
333 static Interval doRound (const FloatFormat& fmt, T value) in doRound()
342 static void doPrintIVal (const FloatFormat& fmt, in doPrintIVal()
349 static void doPrintValue (const FloatFormat& fmt, in doPrintValue()
360 static void doPrintValue (const FloatFormat&, in doPrintValue()
367 static void doPrintIVal (const FloatFormat&, in doPrintIVal()
385 static void doPrintValue (const FloatFormat&, in doPrintValue()
392 static void doPrintIVal (const FloatFormat&, in doPrintIVal()
446 static void doPrintIVal (const FloatFormat& fmt, const IVal ival, ostream& os) in doPrintIVal()
461 static void doPrintValue (const FloatFormat& fmt, const T& value, ostream& os) in doPrintValue()
476 static IVal doConvert (const FloatFormat& fmt, const IVal& value) in doConvert()
486 static IVal doRound (const FloatFormat& fmt, T value) in doRound()
520 static Void doRound (const FloatFormat&, const Void& value) { return value; } in doRound()
521 static Void doConvert (const FloatFormat&, const Void& value) { return value; } in doConvert()
523 static void doPrintValue (const FloatFormat&, const Void&, ostream& os) in doPrintValue()
528 static void doPrintIVal (const FloatFormat&, const Void&, ostream& os) in doPrintIVal()
623 EvalContext (const FloatFormat& format_, in EvalContext()
632 FloatFormat format;
876 static const FloatFormat highpFmt (-126, 127, 23, true, in evaluate()
2079 const FloatFormat& fmt = ctx.format; in precision()
4192 virtual void genFixeds (const FloatFormat&, vector<T>&) const {} in genFixeds() argument
4193 virtual T genRandom (const FloatFormat&, Precision, Random&) const { return T(); } in genRandom() argument
4201 void genFixeds (const FloatFormat&, vector<Void>& dst) const { dst.push_back(Void()); } in genFixeds() argument
4208 void genFixeds (const FloatFormat&, vector<bool>& dst) const in genFixeds() argument
4219 int genRandom (const FloatFormat&, Precision prec, Random& rnd) const in genRandom() argument
4227 void genFixeds (const FloatFormat&, vector<int>& dst) const in genFixeds() argument
4254 float genRandom (const FloatFormat& format, Precision prec, Random& rnd) const;
4255 void genFixeds (const FloatFormat& format, vector<float>& dst) const;
4260 float DefaultSampling<float>::genRandom (const FloatFormat& format, in genRandom()
4327 void DefaultSampling<float>::genFixeds (const FloatFormat& format, vector<float>& dst) const in genFixeds()
4373 Value genRandom (const FloatFormat& fmt, Precision prec, Random& rnd) const in genRandom()
4383 void genFixeds (const FloatFormat& fmt, vector<Value>& dst) const in genFixeds()
4405 Value genRandom (const FloatFormat& fmt, Precision prec, Random& rnd) const in genRandom()
4416 void genFixeds (const FloatFormat& fmt, vector<Value>& dst) const in genFixeds()
4450 const FloatFormat& floatFormat_, in Context()
4451 const FloatFormat& highpFormat_, in Context()
4467 FloatFormat floatFormat;
4468 FloatFormat highpFormat;
4584 const FloatFormat& getFormat (void) const { return m_ctx.floatFormat; } in getFormat()
4628 const FloatFormat& fmt = getFormat(); in testStatement()
4634 const FloatFormat highpFmt = m_ctx.highpFormat; in testStatement()
4992 const FloatFormat& floatFormat, in generateInputs()
5493 const FloatFormat& highp_, in PrecisionTestContext()
5494 const FloatFormat& mediump_, in PrecisionTestContext()
5495 const FloatFormat& lowp_, in PrecisionTestContext()
5510 const FloatFormat* formats[glu::PRECISION_LAST];
5526 const FloatFormat& fmt = *de::getSizedArrayElement<glu::PRECISION_LAST>(ctx.formats, precNdx); in createFuncGroup()
5527 const FloatFormat& highpFmt = *de::getSizedArrayElement<glu::PRECISION_LAST>(ctx.formats, in createFuncGroup()
5554 const FloatFormat highp (-126, 127, 23, true, in addBuiltinPrecisionTests()
5559 const FloatFormat mediump (-13, 13, 9, false); in addBuiltinPrecisionTests()
5562 const FloatFormat lowp (0, 0, 7, false, tcu::YES); in addBuiltinPrecisionTests()