/external/skia/tools/json/ |
D | SkJSONRenderer.cpp | 364 float strokeWidth = jsonPaint[SKJSONCANVAS_ATTRIBUTE_STROKEWIDTH].asFloat(); in apply_paint_strokewidth() 371 float strokeMiter = jsonPaint[SKJSONCANVAS_ATTRIBUTE_STROKEMITER].asFloat(); in apply_paint_strokemiter() 400 SkScalar sigma = blur[SKJSONCANVAS_ATTRIBUTE_SIGMA].asFloat(); in apply_paint_blur() 442 intervals[i] = jsonIntervals[i].asFloat(); in apply_paint_dashing() 444 SkScalar phase = dash[SKJSONCANVAS_ATTRIBUTE_PHASE].asFloat(); in apply_paint_dashing() 473 float textSize = jsonPaint[SKJSONCANVAS_ATTRIBUTE_TEXTSIZE].asFloat(); in apply_paint_textsize() 480 float textScaleX = jsonPaint[SKJSONCANVAS_ATTRIBUTE_TEXTSCALEX].asFloat(); in apply_paint_textscalex() 487 float textSkewX = jsonPaint[SKJSONCANVAS_ATTRIBUTE_TEXTSKEWX].asFloat(); in apply_paint_textskewx() 528 result->set(rect[0].asFloat(), rect[1].asFloat(), rect[2].asFloat(), rect[3].asFloat()); in getRect() 533 { rrect[1][0].asFloat(), rrect[1][1].asFloat() }, in getRRect() [all …]
|
/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() 393 float minVal = valueRange.getMin().asFloat(); in getWeight() 394 float maxVal = valueRange.getMax().asFloat(); in getWeight() 414 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)).asFloat(0)); in tokenize() 588 …> inline float getValueAccessValue<float> (ConstValueAccess access) { return access.asFloat(); } in getValueAccessValue() 593 template<> inline float& getValueAccessValue<float> (ValueAccess access) { return access.asFloat… in getValueAccessValue() [all …]
|
D | rsgBinaryOps.cpp | 163 ComputeValueRange()(state.getRandom(), dst.getMin().asFloat(), dst.getMax().asFloat(), in BinaryVecOp() 164 a.getMin().asFloat(), a.getMax().asFloat(), in BinaryVecOp() 165 b.getMin().asFloat(), b.getMax().asFloat()); in BinaryVecOp() 196 …dst.component(elemNdx).asFloat(compNdx) = EvaluateComp()(a.component(elemNdx).asFloat(compNdx), b.… in evaluate() 429 a.getMin().asFloat(), a.getMax().asFloat(), in RelationalOp() 430 b.getMin().asFloat(), b.getMax().asFloat()); in RelationalOp() 451 dst.asBool(compNdx) = EvaluateComp()(a.asFloat(compNdx), b.asFloat(compNdx)); in evaluate() 728 a.getMin().asFloat(), a.getMax().asFloat(), in EqualityComparisonOp() 729 b.getMin().asFloat(), b.getMax().asFloat()); in EqualityComparisonOp() 800 …ualityCompare<IsEqual>::compare(a.component(elemNdx).asFloat(compNdx), b.component(elemNdx).asFloa… in evaluate()
|
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/skia/tools/debugger/ |
D | SkDrawCommand.cpp | 1114 return SkPoint::Make(point[0].asFloat(), point[1].asFloat()); in get_json_point() 1243 float strokeWidth = jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_STROKEWIDTH].asFloat(); in extract_json_paint_strokewidth() 1250 float strokeMiter = jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_STROKEMITER].asFloat(); in extract_json_paint_strokemiter() 1321 SkScalar sigma = blur[SKDEBUGCANVAS_ATTRIBUTE_SIGMA].asFloat(); in extract_json_paint_blur() 1363 intervals[i] = jsonIntervals[i].asFloat(); in extract_json_paint_dashing() 1365 SkScalar phase = dash[SKDEBUGCANVAS_ATTRIBUTE_PHASE].asFloat(); in extract_json_paint_dashing() 1394 float textSize = jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_TEXTSIZE].asFloat(); in extract_json_paint_textsize() 1401 float textScaleX = jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_TEXTSCALEX].asFloat(); in extract_json_paint_textscalex() 1408 float textSkewX = jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_TEXTSKEWX].asFloat(); in extract_json_paint_textskewx() 1441 result->set(rect[0].asFloat(), rect[1].asFloat(), rect[2].asFloat(), rect[3].asFloat()); in extract_json_rect() [all …]
|
/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() 875 …text& c) { c.color.yz() = FUNC_NAME(greaterThan(c.in[0].swizzle(3, 1), Vec2(0.0f))).asFloat(); } \ 876 …& c) { c.color.xyz() = FUNC_NAME(greaterThan(c.in[0].swizzle(2, 0, 1), Vec3(0.0f))).asFloat(); } \ 877 …ntext& c) { c.color = FUNC_NAME(greaterThan(c.in[0].swizzle(1, 2, 3, 0), Vec4(0.0f))).asFloat(); } 881 …].swizzle(1, 0), Vec2(0.0f)), greaterThan(c.in[2].swizzle(2, 1), Vec2(0.0f))).asFloat(); } \ 882 …wizzle(1, 2, 0), Vec3(0.0f)), greaterThan(c.in[2].swizzle(3, 1, 2), Vec3(0.0f))).asFloat(); } \ 883 …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/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()
|
D | es3fShaderDerivateTests.cpp | 219 …:Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - tcu::Float32::construct(+1, exp, 1u<<23)… in computeFloatingPointError() 255 …onstruct(+1, exp, (1<<23) | (1 << ulpBitNdx)).asFloat() - tcu::Float32::construct(+1, exp, (1<<23)… in getSingleULPForExponent() 260 return tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); in getSingleULPForExponent() 292 …n tcu::Float32::construct(+1, inputFloat.exponent(), inputFloat.mantissa() & ~truncMask).asFloat(); in convertFloatFlushToZeroRtn() 300 …construct(-1, inputFloat.exponent(), inputFloat.mantissa() & ~truncMask).asFloat() - getSingleULPF… in convertFloatFlushToZeroRtn() 854 const tcu::Vec4 normThreshold = intThreshold.asFloat() / 255.0f; in getSurfaceThreshold() 859 case SURFACETYPE_UNORM_FBO: return tcu::IVec4(1).asFloat() / 255.0f; in getSurfaceThreshold()
|
/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/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 | 291 float minF32 = tcu::Float32((0u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init() 292 float maxF32 = tcu::Float32((1u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init() 293 float minF16 = tcu::Float16((deUint16)((0u<<15) | (0x1cu<<10) | 0x0u)).asFloat(); in init() 294 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 | 600 const tcu::Vec4 e01f = e01.asFloat(); in rasterizeSingleSample() 601 const tcu::Vec4 e12f = e12.asFloat(); in rasterizeSingleSample() 602 const tcu::Vec4 e20f = e20.asFloat(); in rasterizeSingleSample() 794 const tcu::Vec4& e01f = e01[sampleNdx].asFloat(); in rasterizeMultiSample() 795 const tcu::Vec4& e12f = e12[sampleNdx].asFloat(); in rasterizeMultiSample() 796 const tcu::Vec4& e20f = e20[sampleNdx].asFloat(); in rasterizeMultiSample() 949 …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() 846 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues() 1413 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); in getInputValues() [all …]
|