/external/smali/util/src/main/java/org/jf/util/ |
D | NumberUtils.java | 82 String asFloat = format.format(floatValue); in isLikelyFloat() local 85 int decimalPoint = asFloat.indexOf('.'); in isLikelyFloat() 86 int exponent = asFloat.indexOf("E"); in isLikelyFloat() 87 int zeros = asFloat.indexOf("000"); in isLikelyFloat() 89 asFloat = asFloat.substring(0, zeros) + asFloat.substring(exponent); in isLikelyFloat() 91 int nines = asFloat.indexOf("999"); in isLikelyFloat() 93 asFloat = asFloat.substring(0, nines) + asFloat.substring(exponent); in isLikelyFloat() 97 return asFloat.length() < asInt.length(); in isLikelyFloat()
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderProgram.cpp | 196 access.component(0).asFloat(ndx) = attribValue[0]; in shadeVertices() 197 if (numComponents >= 2) access.component(1).asFloat(ndx) = attribValue[1]; in shadeVertices() 198 if (numComponents >= 3) access.component(2).asFloat(ndx) = attribValue[2]; in shadeVertices() 199 if (numComponents >= 4) access.component(3).asFloat(ndx) = attribValue[3]; in shadeVertices() 214 packet->position[0] = access.component(0).asFloat(ndx); in shadeVertices() 215 packet->position[1] = access.component(1).asFloat(ndx); in shadeVertices() 216 packet->position[2] = access.component(2).asFloat(ndx); in shadeVertices() 217 packet->position[3] = access.component(3).asFloat(ndx); in shadeVertices() 237 dst[0] = access.component(0).asFloat(ndx); in shadeVertices() 238 if (numComponents >= 2) dst[1] = access.component(1).asFloat(ndx); in shadeVertices() [all …]
|
/external/deqp/framework/randomshaders/ |
D | rsgProgramExecutor.cpp | 146 …ntNdx).asFloat(dstComp) = interpolateVertex(valueRange.getMin().component(elementNdx).asFloat(), v… in interpolateVertexInput() 156 …asFloat(dstComp) = interpolateFragment(tcu::Vec4(vtx0.component(ndx).asFloat(), vtx1.component(ndx… in interpolateFragmentInput() 164 dst.component(elemNdx).asFloat() = src.component(elemNdx).asFloat(compNdx); in copyVarying() 348 tcu::Vec4 c = tcu::Vec4(colorValue.component(0).asFloat(cNdx), in execute() 349 colorValue.component(1).asFloat(cNdx), in execute() 350 colorValue.component(2).asFloat(cNdx), in execute() 351 colorValue.component(3).asFloat(cNdx)); in execute()
|
D | rsgExpression.cpp | 212 valueRange.getMin().component(ndx).asFloat() = minVal; in computeRandomValueRangeForInfElements() 213 valueRange.getMax().component(ndx).asFloat() = maxVal; in computeRandomValueRangeForInfElements() 368 minVal = valueRange.getMin().component(0).asFloat(); in FloatLiteral() 369 maxVal = valueRange.getMax().component(0).asFloat(); in FloatLiteral() 384 access.asFloat(ndx) = value; in FloatLiteral() 396 access.asFloat(ndx) = customValue; in FloatLiteral() 405 float minVal = valueRange.getMin().asFloat(); in getWeight() 406 float maxVal = valueRange.getMax().asFloat(); in getWeight() 426 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)).asFloat(0)); in tokenize() 613 …> inline float getValueAccessValue<float> (ConstValueAccess access) { return access.asFloat(); } in getValueAccessValue() [all …]
|
D | rsgBinaryOps.cpp | 102 dstComp.asFloat(compNdx) = deFloatAbs(srcComp.asFloat(compNdx)); in evaluate() 179 …dst.component(elemNdx).asFloat(compNdx) = ComputeValue()(a.component(elemNdx).asFloat(compNdx),b.c… in evaluate() 192 …ol(compNdx) = EvaluateLessThan()(a.component(elemNdx).asFloat(compNdx),b.component(elemNdx).asFloa… in evaluate() 413 ComputeValueRange()(state.getRandom(), dst.getMin().asFloat(), dst.getMax().asFloat(), in BinaryVecOp() 414 a.getMin().asFloat(), a.getMax().asFloat(), in BinaryVecOp() 415 b.getMin().asFloat(), b.getMax().asFloat()); in BinaryVecOp() 446 …dst.component(elemNdx).asFloat(compNdx) = EvaluateComp()(a.component(elemNdx).asFloat(compNdx), b.… in evaluate() 679 a.getMin().asFloat(), a.getMax().asFloat(), in RelationalOp() 680 b.getMin().asFloat(), b.getMax().asFloat()); in RelationalOp() 701 dst.asBool(compNdx) = EvaluateComp()(a.asFloat(compNdx), b.asFloat(compNdx)); in evaluate() [all …]
|
D | rsgVariableValue.cpp | 63 float aMin = a.component(ndx).getMin().asFloat(); in compareValueRangesAllTrue() 64 float aMax = a.component(ndx).getMax().asFloat(); in compareValueRangesAllTrue() 65 float bMin = b.component(ndx).getMin().asFloat(); in compareValueRangesAllTrue() 66 float bMax = b.component(ndx).getMax().asFloat(); in compareValueRangesAllTrue() 225 float aMin = a.component(ndx).getMin().asFloat(); in computeIntersection() 226 float aMax = a.component(ndx).getMax().asFloat(); in computeIntersection() 227 float bMin = b.component(ndx).getMin().asFloat(); in computeIntersection() 228 float bMax = b.component(ndx).getMax().asFloat(); in computeIntersection()
|
D | rsgUtils.cpp | 67 float minVal = valueRange.component(ndx).getMin().asFloat(); in computeRandomValue() 68 float maxVal = valueRange.component(ndx).getMax().asFloat(); in computeRandomValue() 69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep); in computeRandomValue() 231 valueRange.getMin().component(ndx).asFloat() = minVal; in computeRandomValueRange() 232 valueRange.getMax().component(ndx).asFloat() = maxVal; in computeRandomValueRange() 304 float minVal = valueRange.component(ndx).getMin().asFloat(); in computeRangeLengthSum() 305 float maxVal = valueRange.component(ndx).getMax().asFloat(); in computeRangeLengthSum()
|
D | rsgBuiltinFunctions.hpp | 74 …alueRange()(outRange.getMin().asFloat(), outRange.getMax().asFloat(), inRange.getMin().asFloat(), … in UnaryBuiltinVecFunc() 116 dstComp.asFloat(compNdx) = Evaluate()(srcComp.asFloat(compNdx)); in evaluate() 136 …Weight()(valueRange.component(elemNdx).getMin().asFloat(), valueRange.component(elemNdx).getMax().… in getWeight()
|
D | rsgVariableValue.hpp | 101 float asFloat (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->floatVal; } in asFloat() function in rsg::ConstStridedValueAccess 106 …float asFloat (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value… in asFloat() function in rsg::ConstStridedValueAccess 134 float& asFloat (void) { DE_STATIC_ASSERT(Stride == 1); return this->m_value->floatVal; } in asFloat() function in rsg::StridedValueAccess 139 …float& asFloat (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value… in asFloat() function in rsg::StridedValueAccess 153 StridedValueAccess& operator= (float floatVal) { asFloat() = floatVal; return *this; } in operator =() 188 component(comp).asFloat() = vec.getPtr()[comp]; in operator =()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderOperatorTests.cpp | 203 …eEffCase2 (ctx.in[0].z() > 0.0f, ctx.in[1].x() > 0.0f, ctx.in[2].swizzle(2, 1)).asFloat(); } in evalSequenceNoSideEffCase2() 204 … 0).asInt(), greaterThan(ctx.in[2].swizzle(0, 3, 2, 1), Vec4(0.0f, 0.0f, 0.0f, 0.0f))).asFloat(); } in evalSequenceNoSideEffCase3() 207 …EffCase2 (ctx.in[0].z() > 0.0f, ctx.in[1].x() > 0.0f, ctx.in[2].swizzle(2, 1)).asFloat(); } in evalSequenceSideEffCase2() 208 … 0).asInt(), greaterThan(ctx.in[2].swizzle(0, 3, 2, 1), Vec4(0.0f, 0.0f, 0.0f, 0.0f))).asFloat(); } in evalSequenceSideEffCase3() 876 …text& c) { c.color.yz() = FUNC_NAME(greaterThan(c.in[0].swizzle(3, 1), Vec2(0.0f))).asFloat(); } \ 877 …& c) { c.color.xyz() = FUNC_NAME(greaterThan(c.in[0].swizzle(2, 0, 1), Vec3(0.0f))).asFloat(); } \ 878 …ntext& c) { c.color = FUNC_NAME(greaterThan(c.in[0].swizzle(1, 2, 3, 0), Vec4(0.0f))).asFloat(); } 882 …].swizzle(1, 0), Vec2(0.0f)), greaterThan(c.in[2].swizzle(2, 1), Vec2(0.0f))).asFloat(); } \ 883 …wizzle(1, 2, 0), Vec3(0.0f)), greaterThan(c.in[2].swizzle(3, 1, 2), Vec3(0.0f))).asFloat(); } \ 884 …wizzle(3, 2, 1, 0), Vec4(0.0f)), greaterThan(c.in[2].swizzle(0, 3, 2, 1), Vec4(0.0f))).asFloat(); } [all …]
|
/external/jsoncpp/src/test_lib_json/ |
D | main.cpp | 266 JSONTEST_ASSERT_EQUAL(0.0, null_.asFloat()); in JSONTEST_FIXTURE() 330 JSONTEST_ASSERT_EQUAL(1.0, true_.asFloat()); in JSONTEST_FIXTURE() 338 JSONTEST_ASSERT_EQUAL(0.0, false_.asFloat()); in JSONTEST_FIXTURE() 388 JSONTEST_ASSERT_EQUAL(0.0, val.asFloat()); in JSONTEST_FIXTURE() 416 JSONTEST_ASSERT_EQUAL(0.0, val.asFloat()); in JSONTEST_FIXTURE() 444 JSONTEST_ASSERT_EQUAL(0.0, val.asFloat()); in JSONTEST_FIXTURE() 472 JSONTEST_ASSERT_EQUAL(0.0, val.asFloat()); in JSONTEST_FIXTURE() 500 JSONTEST_ASSERT_EQUAL(0.0, val.asFloat()); in JSONTEST_FIXTURE() 528 JSONTEST_ASSERT_EQUAL(0.0, val.asFloat()); in JSONTEST_FIXTURE() 555 JSONTEST_ASSERT_EQUAL((1 << 20), val.asFloat()); in JSONTEST_FIXTURE() [all …]
|
/external/turbine/java/com/google/turbine/binder/ |
D | ConstEvaluator.java | 347 return value.asFloat(); in coerce() 416 return new Const.FloatValue(+expr.asFloat().value()); in unaryPlus() 432 return new Const.FloatValue(-expr.asFloat().value()); in unaryMinus() 477 return new Const.FloatValue(a.asFloat().value() + b.asFloat().value()); in add() 495 return new Const.FloatValue(a.asFloat().value() - b.asFloat().value()); in subtract() 513 return new Const.FloatValue(a.asFloat().value() * b.asFloat().value()); in mult() 531 return new Const.FloatValue(a.asFloat().value() / b.asFloat().value()); in divide() 549 return new Const.FloatValue(a.asFloat().value() % b.asFloat().value()); in mod() 614 return new Const.BooleanValue(a.asFloat().value() < b.asFloat().value()); in lessThan() 632 return new Const.BooleanValue(a.asFloat().value() <= b.asFloat().value()); in lessThanEqual() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderOperatorTests.cpp | 220 …eEffCase2 (ctx.in[0].z() > 0.0f, ctx.in[1].x() > 0.0f, ctx.in[2].swizzle(2, 1)).asFloat(); } in evalSequenceNoSideEffCase2() 221 … 0).asInt(), greaterThan(ctx.in[2].swizzle(0, 3, 2, 1), Vec4(0.0f, 0.0f, 0.0f, 0.0f))).asFloat(); } in evalSequenceNoSideEffCase3() 224 …EffCase2 (ctx.in[0].z() > 0.0f, ctx.in[1].x() > 0.0f, ctx.in[2].swizzle(2, 1)).asFloat(); } in evalSequenceSideEffCase2() 225 … 0).asInt(), greaterThan(ctx.in[2].swizzle(0, 3, 2, 1), Vec4(0.0f, 0.0f, 0.0f, 0.0f))).asFloat(); } in evalSequenceSideEffCase3() 935 …text& c) { c.color.yz() = FUNC_NAME(greaterThan(c.in[0].swizzle(3, 1), Vec2(0.0f))).asFloat(); } \ 936 …& c) { c.color.xyz() = FUNC_NAME(greaterThan(c.in[0].swizzle(2, 0, 1), Vec3(0.0f))).asFloat(); } \ 937 …ntext& c) { c.color = FUNC_NAME(greaterThan(c.in[0].swizzle(1, 2, 3, 0), Vec4(0.0f))).asFloat(); } 941 …].swizzle(1, 0), Vec2(0.0f)), greaterThan(c.in[2].swizzle(2, 1), Vec2(0.0f))).asFloat(); } \ 942 …wizzle(1, 2, 0), Vec3(0.0f)), greaterThan(c.in[2].swizzle(3, 1, 2), Vec3(0.0f))).asFloat(); } \ 943 …wizzle(3, 2, 1, 0), Vec4(0.0f)), greaterThan(c.in[2].swizzle(0, 3, 2, 1), Vec4(0.0f))).asFloat(); } [all …]
|
D | es3fShaderCommonFunctionTests.cpp | 116 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign() 118 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign() 133 …oat32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1, exp, 1u<<23)… in getEpsFromMaxUlpDiff() 652 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues() 1105 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues() 1211 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues() 1323 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues() 1438 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues() 1556 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues()
|
D | es3fShaderPackingFunctionTests.cpp | 566 …] = tcu::Float32::construct(s, exp ? exp : 1 /* avoid denormals */, (1u<<23) | mantissa).asFloat(); in iterate() 574 *inVal = tcu::Vec2(tcu::Float16(inVal->x()).asFloat(), tcu::Float16(inVal->y()).asFloat()); in iterate() 701 const float ref0 = tcu::Float16(in0).asFloat(); in iterate() 702 const float ref1 = tcu::Float16(in1).asFloat(); in iterate()
|
/external/turbine/java/com/google/turbine/model/ |
D | Const.java | 66 public FloatValue asFloat() { in asFloat() method in Const.Value 196 public FloatValue asFloat() { in asFloat() method in Const.IntValue 269 public FloatValue asFloat() { in asFloat() method in Const.LongValue 342 public FloatValue asFloat() { in asFloat() method in Const.CharValue 415 public FloatValue asFloat() { in asFloat() method in Const.FloatValue 488 public FloatValue asFloat() { in asFloat() method in Const.DoubleValue 599 public FloatValue asFloat() { in asFloat() method in Const.ShortValue 668 public FloatValue asFloat() { in asFloat() method in Const.ByteValue
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderOperatorTests.cpp | 177 …nceNoSideEffCase2(ctx.in[0].z() > 0.0f, ctx.in[1].x() > 0.0f, ctx.in[2].swizzle(2, 1)).asFloat(); } in evalSequenceNoSideEffCase2() 178 … 0).asInt(), greaterThan(ctx.in[2].swizzle(0, 3, 2, 1), Vec4(0.0f, 0.0f, 0.0f, 0.0f))).asFloat(); } in evalSequenceNoSideEffCase3() 181 …uenceSideEffCase2(ctx.in[0].z() > 0.0f, ctx.in[1].x() > 0.0f, ctx.in[2].swizzle(2, 1)).asFloat(); } in evalSequenceSideEffCase2() 182 … 0).asInt(), greaterThan(ctx.in[2].swizzle(0, 3, 2, 1), Vec4(0.0f, 0.0f, 0.0f, 0.0f))).asFloat(); } in evalSequenceSideEffCase3() 654 …text& c) { c.color.yz() = FUNC_NAME(greaterThan(c.in[0].swizzle(3, 1), Vec2(0.0f))).asFloat(); } \ 655 …& c) { c.color.xyz() = FUNC_NAME(greaterThan(c.in[0].swizzle(2, 0, 1), Vec3(0.0f))).asFloat(); } \ 656 …ntext& c) { c.color = FUNC_NAME(greaterThan(c.in[0].swizzle(1, 2, 3, 0), Vec4(0.0f))).asFloat(); } 660 …].swizzle(1, 0), Vec2(0.0f)), greaterThan(c.in[2].swizzle(2, 1), Vec2(0.0f))).asFloat(); } \ 661 …wizzle(1, 2, 0), Vec3(0.0f)), greaterThan(c.in[2].swizzle(3, 1, 2), Vec3(0.0f))).asFloat(); } \ 662 …wizzle(3, 2, 1, 0), Vec4(0.0f)), greaterThan(c.in[2].swizzle(0, 3, 2, 1), Vec4(0.0f))).asFloat(); } [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmInstructionTests.cpp | 6087 …tor()(const tcu::Float16 in1, const tcu::Float16 in2) { return in1.asFloat() == in2.asFloat(); } }; in operator ()() 6088 …tor()(const tcu::Float16 in1, const tcu::Float16 in2) { return in1.asFloat() != in2.asFloat(); } }; in operator ()() 6089 …tor()(const tcu::Float16 in1, const tcu::Float16 in2) { return in1.asFloat() < in2.asFloat(); } }; in operator ()() 6090 …tor()(const tcu::Float16 in1, const tcu::Float16 in2) { return in1.asFloat() > in2.asFloat(); } }; in operator ()() 6091 …tor()(const tcu::Float16 in1, const tcu::Float16 in2) { return in1.asFloat() <= in2.asFloat(); } }; in operator ()() 6092 …tor()(const tcu::Float16 in1, const tcu::Float16 in2) { return in1.asFloat() >= in2.asFloat(); } }; in operator ()() 10410 const float d0 = f0.asFloat(); in operator ()() 10411 const float d1 = f1.asFloat(); in operator ()() 12481 const float d (x.asFloat()); in calc() 12505 const float d (x.asFloat()); in calc() [all …]
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 298 float minF32 = tcu::Float32((0u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init() 299 float maxF32 = tcu::Float32((1u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init() 300 float minF16 = tcu::Float16((deUint16)((0u<<15) | (0x1cu<<10) | 0x0u)).asFloat(); in init() 301 float maxF16 = tcu::Float16((deUint16)((1u<<15) | (0x1cu<<10) | 0x0u)).asFloat(); in init()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 292 float minF32 = tcu::Float32((0u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init() 293 float maxF32 = tcu::Float32((1u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init() 294 float minF16 = tcu::Float16((deUint16)((0u<<15) | (0x1cu<<10) | 0x0u)).asFloat(); in init() 295 float maxF16 = tcu::Float16((deUint16)((1u<<15) | (0x1cu<<10) | 0x0u)).asFloat(); in init()
|
/external/deqp/framework/common/ |
D | tcuTexVerifierUtil.cpp | 38 …urn Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - Float32::construct(+1, exp, 1u<<23).a… in computeFloatingPointError()
|
/external/deqp/framework/referencerenderer/ |
D | rrRasterizer.cpp | 605 const tcu::Vec4 e01f = e01.asFloat(); in rasterizeSingleSample() 606 const tcu::Vec4 e12f = e12.asFloat(); in rasterizeSingleSample() 607 const tcu::Vec4 e20f = e20.asFloat(); in rasterizeSingleSample() 799 const tcu::Vec4& e01f = e01[sampleNdx].asFloat(); in rasterizeMultiSample() 800 const tcu::Vec4& e12f = e12[sampleNdx].asFloat(); in rasterizeMultiSample() 801 const tcu::Vec4& e20f = e20[sampleNdx].asFloat(); in rasterizeMultiSample() 954 …loat t = tcu::dot((pr - pa).asFloat(), (pb - pa).asFloat()) / tcu::lengthSquared(pb.asFlo… in rasterize()
|
D | rrVertexAttrib.cpp | 120 dst[0] = tcu::Float16(aligned[0]).asFloat(); in readHalf() 121 if (size >= 2) dst[1] = tcu::Float16(aligned[1]).asFloat(); in readHalf() 122 if (size >= 3) dst[2] = tcu::Float16(aligned[2]).asFloat(); in readHalf() 123 if (size >= 4) dst[3] = tcu::Float16(aligned[3]).asFloat(); in readHalf()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderCommonFunctionTests.cpp | 120 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign() 122 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign() 137 …oat32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1, exp, 1u<<23)… in getEpsFromMaxUlpDiff() 205 …lizedValueExponent, ((1u << numMantissaBits) - 1u) << (23u - (deUint32)numMantissaBits)).asFloat(); in makeFloatRepresentable() 209 …presentable) ? (tcu::Float32::constructBits(+1, minNormalizedValueExponent, 1).asFloat()) : (0.0f); in makeFloatRepresentable() 230 return targetRepresentation.asFloat(); in makeFloatRepresentable() 730 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues() 1188 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues() 1294 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues() 1406 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 124 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign() 126 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign() 141 …oat32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1, exp, 1u<<23)… in getEpsFromMaxUlpDiff() 209 …lizedValueExponent, ((1u << numMantissaBits) - 1u) << (23u - (deUint32)numMantissaBits)).asFloat(); in makeFloatRepresentable() 213 …presentable) ? (tcu::Float32::constructBits(+1, minNormalizedValueExponent, 1).asFloat()) : (0.0f); in makeFloatRepresentable() 234 return targetRepresentation.asFloat(); in makeFloatRepresentable() 381 *significand = tcu::Float32::construct(fpValue.sign(), -1, fpValue.mantissa()).asFloat(); in frexp() 401 return tcu::Float32::construct(mant.sign(), exponent+mant.exponent(), mant.mantissa()).asFloat(); in ldexp() 833 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues() 1394 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues() [all …]
|