/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/ |
D | to_toml.py | 95 class Float32(FloatMixin): class 129 float32 = Float32("1.0") 133 float32 = Float32("1.0") 137 float32 = Float32("1.0") 140 float32 = Float32("1e-45") 144 float32 = Float32("1e-45") 147 float32 = Float32("nan") 150 float32 = Float32("inf") 154 float32 = Float32("1e-45") 157 float32 = Float32("nan") [all …]
|
/third_party/node/deps/v8/src/utils/ |
D | boxed-float.h | 19 class Float32 { 21 Float32() = default; 25 explicit Float32(float value) : bit_pattern_(bit_cast<uint32_t>(value)) { in Float32() function 45 static constexpr Float32 FromBits(uint32_t bits) { return Float32(bits); } in FromBits() 50 explicit constexpr Float32(uint32_t bit_pattern) in Float32() function 54 ASSERT_TRIVIALLY_COPYABLE(Float32);
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | VertexStateValidationTests.cpp | 286 state.cAttributes[0].offset = kMaxVertexBufferArrayStride - sizeof(wgpu::VertexFormat::Float32); in TEST_F() 302 state.cAttributes[0].format = wgpu::VertexFormat::Float32; in TEST_F() 371 DoTest(wgpu::VertexFormat::Float32, "f32", true); in TEST_F() 372 DoTest(wgpu::VertexFormat::Float32, "i32", false); in TEST_F() 373 DoTest(wgpu::VertexFormat::Float32, "u32", false); in TEST_F() 396 DoTest(wgpu::VertexFormat::Float32, "f32", true); in TEST_F() 397 DoTest(wgpu::VertexFormat::Float32, "vec2<f32>", true); in TEST_F() 398 DoTest(wgpu::VertexFormat::Float32, "vec3<f32>", true); in TEST_F() 399 DoTest(wgpu::VertexFormat::Float32, "vec4<f32>", true); in TEST_F() 423 DoTest(wgpu::VertexFormat::Float32); in TEST_F()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fShaderCommonFunctionTests.cpp | 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() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 98 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff() 99 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff() 105 if (tcu::Float32(a).isZero()) in getUlpDiffIgnoreZeroSign() 106 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign() 107 else if (tcu::Float32(b).isZero()) in getUlpDiffIgnoreZeroSign() 108 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign() 139 tcu::Float32::MANTISSA_BITS, // highp in getMinMantissaBits() 149 …return (glu::isDataTypeFloatOrVec(type) ? static_cast<int>(tcu::Float32::EXPONENT_BITS) : static_c… in getExponentBits() 265 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<() 646 …_cast<deUint64>(tcu::Float64::EXPONENT_BIAS) : static_cast<deUint64>(tcu::Float32::EXPONENT_BIAS)); in infNanRandomFloats() [all …]
|
D | vktShaderFConvertTests.cpp | 165 std::vector<tcu::Float32> getOtherNormals<tcu::Float32> (de::Random& rnd) in getOtherNormals() 168 return convertVector<tcu::Float16, tcu::Float32>(getRandomNormals<tcu::Float16>(rnd)); in getOtherNormals() 176 auto v2 = convertVector<tcu::Float32, tcu::Float64>(getRandomNormals<tcu::Float32>(rnd)); in getOtherNormals() 226 const std::vector<tcu::Float32>& getInputValues32 () const in getInputValues32() 240 , m_values32(getInputValues<tcu::Float32>(m_rnd)) in InputGenerator() 251 std::vector<tcu::Float32> m_values32; 556 …inputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputValues.size(), m_params.vectorL… in iterate() 572 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputBufferSizeInfo.numValues, m_pa… in iterate() 829 …auto outputValues = unpackFloats<tcu::Float32>(outputMemory, m_params.vectorLength, inputBufferSiz… in iterate()
|
/third_party/node/deps/v8/src/deoptimizer/ia32/ |
D | deoptimizer-ia32.cc | 15 Float32 RegisterValues::GetFloatRegister(unsigned n) const { in GetFloatRegister() 16 return Float32::FromBits( in GetFloatRegister()
|
/third_party/node/deps/v8/src/deoptimizer/mips/ |
D | deoptimizer-mips.cc | 13 Float32 RegisterValues::GetFloatRegister(unsigned n) const { in GetFloatRegister() 14 return Float32::FromBits( in GetFloatRegister()
|
/third_party/node/deps/v8/src/deoptimizer/mips64/ |
D | deoptimizer-mips64.cc | 13 Float32 RegisterValues::GetFloatRegister(unsigned n) const { in GetFloatRegister() 14 return Float32::FromBits( in GetFloatRegister()
|
/third_party/node/deps/v8/src/deoptimizer/riscv64/ |
D | deoptimizer-riscv64.cc | 13 Float32 RegisterValues::GetFloatRegister(unsigned n) const { in GetFloatRegister() 14 return Float32::FromBits( in GetFloatRegister()
|
/third_party/node/deps/v8/src/deoptimizer/loong64/ |
D | deoptimizer-loong64.cc | 13 Float32 RegisterValues::GetFloatRegister(unsigned n) const { in GetFloatRegister() 14 return Float32::FromBits( in GetFloatRegister()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderCommonFunctionTests.cpp | 87 const int inExp = tcu::Float32(input).exponent(); in numBitsLostInOp() 88 const int outExp = tcu::Float32(output).exponent(); in numBitsLostInOp() 95 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff() 96 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff() 102 if (tcu::Float32(a).isZero()) in getUlpDiffIgnoreZeroSign() 103 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign() 104 else if (tcu::Float32(b).isZero()) in getUlpDiffIgnoreZeroSign() 105 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign() 119 const int exp = tcu::Float32(value).exponent(); in getEpsFromMaxUlpDiff() 120 …return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1… in getEpsFromMaxUlpDiff() [all …]
|
D | es3fShaderDerivateTests.cpp | 207 return tcu::UVec4(tcu::Float32(v[0]).exponentBits(), in getCompExpBits() 208 tcu::Float32(v[1]).exponentBits(), in getCompExpBits() 209 tcu::Float32(v[2]).exponentBits(), in getCompExpBits() 210 tcu::Float32(v[3]).exponentBits()); in getCompExpBits() 217 const int exp = (tcu::Float32(value).exponent() < -3) ? -3 : tcu::Float32(value).exponent(); in computeFloatingPointError() 219 …return tcu::Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - tcu::Float32::construct(+1, e… in computeFloatingPointError() 255 …return tcu::Float32::construct(+1, exp, (1<<23) | (1 << ulpBitNdx)).asFloat() - tcu::Float32::cons… in getSingleULPForExponent() 260 return tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); in getSingleULPForExponent() 266 const int exp = tcu::Float32(value).exponent(); in getSingleULPForValue() 278 const tcu::Float32 inputFloat = tcu::Float32(value); in convertFloatFlushToZeroRtn() [all …]
|
D | es3fShaderPrecisionTests.cpp | 299 const int in0Exp = tcu::Float32(in0).exponent(); in compare() 300 const int in1Exp = tcu::Float32(in1).exponent(); in compare() 301 const int resExp = tcu::Float32(result).exponent(); in compare() 371 << "in0 = " << in0 << " / " << tcu::toHex(tcu::Float32(in0).bits()) in iterate() 372 << ", in1 = " << in1 << " / " << tcu::toHex(tcu::Float32(in1).bits()) in iterate() 374 …<< TestLog::Message << " reference = " << refF << " / " << tcu::toHex(tcu::Float32(refF).bits()) … in iterate() 384 …log << TestLog::Message << " result = " << pixels[0] << " / " << tcu::toHex(tcu::Float32(pixels[0… in iterate() 393 const deUint32 firstPixelBits = tcu::Float32(pixels[0]).bits(); in iterate() 400 const deUint32 pixelBits = tcu::Float32(pixels[(y*FRAMEBUFFER_WIDTH + x)*4]).bits(); in iterate() 838 float minF32 = tcu::Float32((1u<<31) | (0xfdu<<23) | 0x0u).asFloat(); in init() [all …]
|
D | es3fShaderPackingFunctionTests.cpp | 49 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff() 50 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff() 62 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<() 542 …v[c] = tcu::Float32::construct(s, exp ? exp : 1 /* avoid denormals */, (1u<<23) | mantissa).asFloa… in iterate() 682 const deUint32 refBits0 = tcu::Float32(ref0).bits(); in iterate() 683 const deUint32 refBits1 = tcu::Float32(ref1).bits(); in iterate() 684 const deUint32 resBits0 = tcu::Float32(res0).bits(); in iterate() 685 const deUint32 resBits1 = tcu::Float32(res1).bits(); in iterate()
|
/third_party/node/deps/v8/src/deoptimizer/s390/ |
D | deoptimizer-s390.cc | 24 Float32 RegisterValues::GetFloatRegister(unsigned n) const { in GetFloatRegister() 25 return Float32::FromBits( in GetFloatRegister()
|
/third_party/node/deps/v8/src/deoptimizer/x64/ |
D | deoptimizer-x64.cc | 26 Float32 RegisterValues::GetFloatRegister(unsigned n) const { in GetFloatRegister() 27 return Float32::FromBits( in GetFloatRegister()
|
/third_party/node/deps/v8/src/deoptimizer/arm/ |
D | deoptimizer-arm.cc | 24 Float32 RegisterValues::GetFloatRegister(unsigned n) const { in GetFloatRegister() 27 return Float32::FromBits( in GetFloatRegister()
|
/third_party/node/deps/v8/src/deoptimizer/arm64/ |
D | deoptimizer-arm64.cc | 19 Float32 RegisterValues::GetFloatRegister(unsigned n) const { in GetFloatRegister() 20 return Float32::FromBits( in GetFloatRegister()
|
/third_party/node/deps/v8/src/deoptimizer/ppc/ |
D | deoptimizer-ppc.cc | 24 Float32 RegisterValues::GetFloatRegister(unsigned n) const { in GetFloatRegister() 26 return Float32::FromBits(bit_cast<uint32_t>(float_val)); in GetFloatRegister()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderDerivateTests.cpp | 177 return tcu::UVec4(tcu::Float32(v[0]).exponentBits(), in getCompExpBits() 178 tcu::Float32(v[1]).exponentBits(), in getCompExpBits() 179 tcu::Float32(v[2]).exponentBits(), in getCompExpBits() 180 tcu::Float32(v[3]).exponentBits()); in getCompExpBits() 187 const int exp = tcu::Float32(value).exponent(); in computeFloatingPointError() 189 …return tcu::Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - tcu::Float32::construct(+1, e… in computeFloatingPointError() 225 …return tcu::Float32::construct(+1, exp, (1<<23) | (1 << ulpBitNdx)).asFloat() - tcu::Float32::cons… in getSingleULPForExponent() 230 return tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); in getSingleULPForExponent() 236 const int exp = tcu::Float32(value).exponent(); in getSingleULPForValue() 248 const tcu::Float32 inputFloat = tcu::Float32(value); in convertFloatFlushToZeroRtn() [all …]
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTexVerifierUtil.cpp | 39 const int exp = tcu::Float32(value).exponent(); in computeFloatingPointError() 41 …return Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - Float32::construct(+1, exp, 1u<<23… in computeFloatingPointError()
|
/third_party/node/deps/v8/src/execution/arm/ |
D | simulator-arm.h | 210 void set_s_register_from_float(int sreg, const Float32 flt) { in set_s_register_from_float() 211 SetVFPRegister<Float32, 1>(sreg, flt); in set_s_register_from_float() 217 Float32 get_float_from_s_register(int sreg) { in get_float_from_s_register() 218 return GetFromVFPRegister<Float32, 1>(sreg); in get_float_from_s_register() 325 inline Float32 canonicalizeNaN(Float32 value);
|
/third_party/vk-gl-cts/modules/internal/ |
D | ditSRGB8ConversionTest.cpp | 38 const deUint32 au = tcu::Float32(a).bits(); in calculateDiscreteFloatDistance() 39 const deUint32 bu = tcu::Float32(b).bits(); in calculateDiscreteFloatDistance()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | VertexStateTests.cpp | 57 case VertexFormat::Float32: in ShouldComponentBeDefault() 295 MakeVertexState({{0, VertexStepMode::Vertex, {{0, 0, VertexFormat::Float32}}}}, in TEST_P() 298 MakeTestPipeline(vertexState, 0, {{0, VertexFormat::Float32, VertexStepMode::Vertex}}); in TEST_P() 418 {{0, 0, VertexFormat::Float32}, {1, 6 * sizeof(float), VertexFormat::Float32x2}}}, in TEST_P() 425 {{0, VertexFormat::Float32, VertexStepMode::Vertex}, in TEST_P() 571 {3, 0 /* offset */, VertexFormat::Float32}, // |****| in TEST_P()
|