• Home
  • Raw
  • Download

Lines Matching refs:Float32

91 	const int	inExp		= tcu::Float32(input).exponent();  in numBitsLostInOp()
92 const int outExp = tcu::Float32(output).exponent(); in numBitsLostInOp()
99 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff()
100 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff()
106 if (tcu::Float32(a).isZero()) in getUlpDiffIgnoreZeroSign()
107 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign()
108 else if (tcu::Float32(b).isZero()) in getUlpDiffIgnoreZeroSign()
109 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign()
123 const int exp = tcu::Float32(value).exponent(); in getEpsFromMaxUlpDiff()
124 …return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1… in getEpsFromMaxUlpDiff()
192 …const float largestRepresentableValue = tcu::Float32::constructBits(+1, maxNormalizedValueExpone… in makeFloatRepresentable()
196 …const float zeroValue = (zeroNotRepresentable) ? (tcu::Float32::constructBits(+1, minNormali… in makeFloatRepresentable()
198 const tcu::Float32 float32Representation (f); in makeFloatRepresentable()
213 const tcu::Float32 targetRepresentation(tcu::Float32::constructBits(float32Representation.sign(), in makeFloatRepresentable()
330 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<()
856 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
875 const bool ref = tcu::Float32(in0).isNaN(); in compare()
891 const bool ref = tcu::Float32(in0).isNaN(); in compare()
939 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
958 const bool ref = tcu::Float32(in0).isInf(); in compare()
1034 const deUint32 refOut0 = tcu::Float32(in0).bits(); in compare()
1107 …m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(tcu::Float32(in0).bits()) << " with U… in compare()
1271 const bool isNeg = tcu::Float32(in0).sign() < 0; in compare()
1538 const int ulpDiff = de::abs((int)tcu::Float32(out0).bits() - (int)0x80000000u); in compare()
1668 const tcu::Float32 fpValue(in); in frexp()
1673 *significand = tcu::Float32::construct(fpValue.sign(), -1, fpValue.mantissa()).asFloat(); in frexp()
1685 const tcu::Float32 mant(significand); in ldexp()
1693 return tcu::Float32::construct(mant.sign(), exponent+mant.exponent(), mant.mantissa()).asFloat(); in ldexp()
1874 const float in0 = tcu::Float32::construct(sign, fpExp, mantissa).asFloat(); in getInputValues()
1881 DE_ASSERT(!tcu::Float32(out).isInf() && !tcu::Float32(out).isDenorm()); in getInputValues()
1910 const int inExp = tcu::Float32(in0).exponent(); in compare()