Home
last modified time | relevance | path

Searched refs:float_bits (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/tint/src/writer/
Dfloat_to_string.cc63 uint32_t float_bits = 0u; in FloatToBitPreservingString() local
64 std::memcpy(&float_bits, &f, sizeof(float_bits)); in FloatToBitPreservingString()
68 if (float_bits & kSignMask) { in FloatToBitPreservingString()
72 float_bits = float_bits & (~kSignMask); in FloatToBitPreservingString()
78 std::memcpy(&f, &float_bits, sizeof(float_bits)); in FloatToBitPreservingString()
98 static_cast<int>((float_bits & kExponentMask) >> kMantissaBits); in FloatToBitPreservingString()
100 uint32_t mantissa = float_bits & kMantissaMask; in FloatToBitPreservingString()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_inline_literals.c49 unsigned float_bits = u_bitcast_f2u(f); in ieee_754_to_r300_float() local
51 unsigned mantissa = float_bits & 0x007fffff; in ieee_754_to_r300_float()
52 unsigned biased_exponent = (float_bits & 0x7f800000) >> 23; in ieee_754_to_r300_float()
53 unsigned negate = !!(float_bits & 0x80000000); in ieee_754_to_r300_float()
58 DBG("Converting %f (0x%x) to 7-bit:\n", f, float_bits); in ieee_754_to_r300_float()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_internal.h56 unsigned float_bits; member
Ddxil_module.c384 retval = lhs->float_bits == rhs->float_bits; in types_equal()
439 return value->type->float_bits == bitsize; in dxil_value_type_bitsize_equal_to()
513 type->float_bits = bit_size; in create_float_type()
1478 return emit_float_type(m, type->float_bits); in emit_type()
2130 switch (curr_type->float_bits) { in emit_consts()
2575 return type->float_bits == 16 || in legal_arith_type()
2576 type->float_bits == 32 || in legal_arith_type()
2577 type->float_bits == 64; in legal_arith_type()
Ddxil_dump.c205 _mesa_string_buffer_printf(d->buf, "float%d", type->float_bits); in dump_type_name()
/third_party/skia/tests/
DMatrixTest.cpp30 static int float_bits(float f) { in float_bits() function
47 int aValI = float_bits(aVal); in are_equal()
48 int bValI = float_bits(bVal); in are_equal()
61 int aValI = float_bits(aVal); in are_equal()
62 int bValI = float_bits(bVal); in are_equal()
/third_party/flutter/skia/tests/
DMatrixTest.cpp30 static int float_bits(float f) { in float_bits() function
47 int aValI = float_bits(aVal); in are_equal()
48 int bValI = float_bits(bVal); in are_equal()
61 int aValI = float_bits(aVal); in are_equal()
62 int bValI = float_bits(bVal); in are_equal()