Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dlexer.cc567 int32_t signed_exponent = static_cast<int32_t>(exponent); in try_hex_float() local
576 if (signed_exponent <= 0) { in try_hex_float()
581 while (signed_exponent < 0) { in try_hex_float()
583 ++signed_exponent; in try_hex_float()
587 signed_exponent = 0; in try_hex_float()
592 if (signed_exponent > kExponentMax) { in try_hex_float()
594 signed_exponent = kExponentMax; in try_hex_float()
596 } else if (signed_exponent == kExponentMax && mantissa != 0) { in try_hex_float()
604 result_u32 |= (static_cast<uint32_t>(signed_exponent) & kExponentMask) in try_hex_float()