/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/ |
H A 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("na [all...] |
/third_party/node/deps/v8/src/utils/ |
H A D | boxed-float.h | 19 class Float32 { class 21 Float32() = default; 25 explicit Float32(float value) : bit_pattern_(bit_cast<uint32_t>(value)) { in Float32() function in v8::internal::Float32 45 static constexpr Float32 FromBits(uint32_t bits) { return Float32(bits); } in FromBits() 50 explicit constexpr Float32(uint32_t bit_pattern) in Float32() function in v8::internal::Float32 54 ASSERT_TRIVIALLY_COPYABLE(Float32);
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A 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() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A 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( in getUlpDiffIgnoreZeroSign() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A 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 in getExponentBits() [all...] |
H A 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.vectorLength); in iterate() 572 outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputBufferSizeInf in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A 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 in getExponentBits() [all...] |
H A 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.vectorLength); in iterate() 572 outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputBufferSizeInf in iterate() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A 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( in getUlpDiffIgnoreZeroSign() [all...] |
H A 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, exp, 1u<<23).asFloat(); in computeFloatingPointError() 255 return tcu::Float32::construct(+1, exp, (1<<23) | (1 << ulpBitNdx)).asFloat() - tcu::Float32 in getSingleULPForExponent() [all...] |
H A 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).asFloat(); 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/ |
H A 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/loong64/ |
H A D | deoptimizer-loong64.cc | 13 Float32 RegisterValues::GetFloatRegister(unsigned n) const { in GetFloatRegister() 14 return Float32::FromBits( in GetFloatRegister()
|
/third_party/node/deps/v8/src/deoptimizer/riscv64/ |
H A 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/mips64/ |
H A 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/ia32/ |
H A 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/ |
H A 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/x64/ |
H A 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/ |
H A 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/ |
H A 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/ |
H A 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/ |
H A D | vktShaderRenderDerivateTests.cpp | 195 return tcu::UVec4(tcu::Float32(v[0]).exponentBits(), in getCompExpBits() 196 tcu::Float32(v[1]).exponentBits(), in getCompExpBits() 197 tcu::Float32(v[2]).exponentBits(), in getCompExpBits() 198 tcu::Float32(v[3]).exponentBits()); in getCompExpBits() 205 const int exp = tcu::Float32(value).exponent(); in computeFloatingPointError() 207 return tcu::Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - tcu::Float32::construct(+1, exp, 1u<<23).asFloat(); in computeFloatingPointError() 243 return tcu::Float32::construct(+1, exp, (1<<23) | (1 << ulpBitNdx)).asFloat() - tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); in getSingleULPForExponent() 248 return tcu::Float32 in getSingleULPForExponent() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A 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, exp, 1u<<23).asFloat(); in computeFloatingPointError() 225 return tcu::Float32::construct(+1, exp, (1<<23) | (1 << ulpBitNdx)).asFloat() - tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); in getSingleULPForExponent() 230 return tcu::Float32 in getSingleULPForExponent() [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A 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).asFloat(); in computeFloatingPointError()
|
/third_party/node/deps/v8/src/execution/arm/ |
H A 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);
|