Home
last modified time | relevance | path

Searched refs:kMantissaBits (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/tint/src/writer/
Dfloat_to_string.cc93 const int kMantissaBits = 23; in FloatToBitPreservingString() local
95 int mantissaNibbles = (kMantissaBits + 3) / 4; in FloatToBitPreservingString()
98 static_cast<int>((float_bits & kExponentMask) >> kMantissaBits); in FloatToBitPreservingString()
114 mantissa <<= (4 - (kMantissaBits % 4)); in FloatToBitPreservingString()
126 const int kTopBit = (1 << kMantissaBits); in FloatToBitPreservingString()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dlexer.cc319 constexpr uint32_t kMantissaBits = 23; in try_hex_float() local
320 constexpr uint32_t kMantissaMsb = kMantissaBits - 1; in try_hex_float()
321 constexpr uint32_t kMantissaShiftRight = kTotalBits - kMantissaBits; in try_hex_float()
326 constexpr uint32_t kExponentLeftShift = kMantissaBits; in try_hex_float()