Lines Matching refs:Float32
104 const int inExp = tcu::Float32(input).exponent(); in numBitsLostInOp()
105 const int outExp = tcu::Float32(output).exponent(); in numBitsLostInOp()
112 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff()
113 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff()
119 if (tcu::Float32(a).isZero()) in getUlpDiffIgnoreZeroSign()
120 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign()
121 else if (tcu::Float32(b).isZero()) in getUlpDiffIgnoreZeroSign()
122 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign()
136 const int exp = tcu::Float32(value).exponent(); in getEpsFromMaxUlpDiff()
137 …return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1… in getEpsFromMaxUlpDiff()
205 …const float largestRepresentableValue = tcu::Float32::constructBits(+1, maxNormalizedValueExpone… in makeFloatRepresentable()
209 …const float zeroValue = (zeroNotRepresentable) ? (tcu::Float32::constructBits(+1, minNormali… in makeFloatRepresentable()
211 const tcu::Float32 float32Representation (f); in makeFloatRepresentable()
226 const tcu::Float32 targetRepresentation(tcu::Float32::constructBits(float32Representation.sign(), in makeFloatRepresentable()
341 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<()
895 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
914 const bool ref = tcu::Float32(in0).isNaN(); in compare()
930 const bool ref = tcu::Float32(in0).isNaN(); in compare()
978 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
997 const bool ref = tcu::Float32(in0).isInf(); in compare()
1073 const deUint32 refOut0 = tcu::Float32(in0).bits(); in compare()
1146 …m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(tcu::Float32(in0).bits()) << " with U… in compare()
1310 const bool isNeg = tcu::Float32(in0).sign() < 0; in compare()
1577 const int ulpDiff = de::abs((int)tcu::Float32(out0).bits() - (int)0x80000000u); in compare()
1707 const tcu::Float32 fpValue(in); in frexp()
1712 *significand = tcu::Float32::construct(fpValue.sign(), -1, fpValue.mantissa()).asFloat(); in frexp()
1724 const tcu::Float32 mant(significand); in ldexp()
1732 return tcu::Float32::construct(mant.sign(), exponent+mant.exponent(), mant.mantissa()).asFloat(); in ldexp()
1914 const float in0 = tcu::Float32::construct(sign, fpExp, mantissa).asFloat(); in getInputValues()
1921 DE_ASSERT(!tcu::Float32(out).isInf() && !tcu::Float32(out).isDenorm()); in getInputValues()
1950 const int inExp = tcu::Float32(in0).exponent(); in compare()