Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/external/amber/src/src/
Dfloat16_helper.cc47 uint32_t exponent_bits = ((hex_float >> 23U) & ((1U << 8U) - 1U)); in FloatExponent() local
49 if (exponent_bits == 0U) in FloatExponent()
51 uint32_t exponent = exponent_bits - 112U; in FloatExponent()
67 uint32_t exponent_bits = (static_cast<uint32_t>(value[1]) & 0x7c) >> 2U; in HexFloat16ToFloat() local
71 if (exponent_bits != 0U) { in HexFloat16ToFloat()
72 exponent = (exponent_bits + 112U) << 23U; in HexFloat16ToFloat()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_float.c76 unsigned exponent_bits, in lp_build_float_to_smallfloat() argument
96 ((1 << exponent_bits) - 1) << 23); in lp_build_float_to_smallfloat()
131 ((1 << (exponent_bits - 1)) - 1) << 23); in lp_build_float_to_smallfloat()
137 (((1 << exponent_bits) - 2) << 23) | in lp_build_float_to_smallfloat()
198 unsigned maskbits = (1 << (mantissa_bits + exponent_bits)) - 1; in lp_build_float_to_smallfloat()
212 shift = lp_build_const_int_vec(gallivm, i32_type, 8 - exponent_bits); in lp_build_float_to_smallfloat()
285 unsigned exponent_bits, in lp_build_smallfloat_to_float() argument
309 ((1 << (mantissa_bits + exponent_bits)) - 1) in lp_build_smallfloat_to_float()
315 ((1 << exponent_bits) - 1) << 23); in lp_build_smallfloat_to_float()
335 (255 - (1 << (exponent_bits - 1))) << 23); in lp_build_smallfloat_to_float()
[all …]
Dlp_bld_format.h220 unsigned exponent_bits,
229 unsigned exponent_bits,
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl_literal_test.cc32 const uint32_t exponent_bits = (biased_exponent & 0xffu) << 23; in MakeFloat() local
36 uint32_t bits = sign_bit | exponent_bits | mantissa_bits; in MakeFloat()
/third_party/skia/src/utils/
DSkFloatUtils.h93 Bits exponent_bits() const { return kExponentBitMask & fU.bits; }
103 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/third_party/skia/third_party/externals/tint/src/writer/
Dfloat_to_string_test.cc34 const uint32_t exponent_bits = (biased_exponent & 0xffu) << 23; in MakeFloat() local
38 uint32_t bits = sign_bit | exponent_bits | mantissa_bits; in MakeFloat()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_const_literal_test.cc32 const uint32_t exponent_bits = (biased_exponent & 0xffu) << 23; in MakeFloat() local
36 uint32_t bits = sign_bit | exponent_bits | mantissa_bits; in MakeFloat()
/third_party/ffmpeg/libavcodec/
Dac3enc.h230 int exponent_bits; ///< number of bits used for exponents member
Dac3enc.c1168 bits_left = 8 * s->frame_size - (s->frame_bits + s->exponent_bits); in cbr_bit_allocation()
1217 s->exponent_bits = count_exponent_bits(s); in ac3_compute_bit_allocation()
/third_party/mesa3d/src/gtest/include/gtest/internal/
Dgtest-internal.h313 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
325 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/third_party/googletest/googletest/include/gtest/internal/
Dgtest-internal.h319 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
331 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/third_party/node/deps/googletest/include/gtest/internal/
Dgtest-internal.h316 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
328 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/third_party/cef/tools/distrib/gtest/
Dgtest.h3708 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; }
3720 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);