Home
last modified time | relevance | path

Searched refs:EXPONENT_BIAS (Results 1 - 12 of 12) sorted by relevance

/third_party/rust/crates/minimal-lexical/src/
H A Dnum.rs79 const EXPONENT_BIAS: i32; consts
98 const INFINITE_POWER: i32 = Self::MAX_EXPONENT + Self::EXPONENT_BIAS;
188 biased_e - Self::EXPONENT_BIAS in exponent()
211 const EXPONENT_BIAS: i32 = 127 + Self::MANTISSA_SIZE; consts
212 const DENORMAL_EXPONENT: i32 = 1 - Self::EXPONENT_BIAS;
213 const MAX_EXPONENT: i32 = 0xFF - Self::EXPONENT_BIAS;
259 const EXPONENT_BIAS: i32 = 1023 + Self::MANTISSA_SIZE; consts
260 const DENORMAL_EXPONENT: i32 = 1 - Self::EXPONENT_BIAS;
261 const MAX_EXPONENT: i32 = 0x7FF - Self::EXPONENT_BIAS;
H A Dlemire.rs166 let power2 = power(q as i32) + F::EXPONENT_BIAS - hilz - lz - 62; in compute_error_scaled()
H A Dbellerophon.rs113 fp.exp += F::EXPONENT_BIAS; in bellerophon()
190 // - F::EXPONENT_BIAS -64 + 1`, or `biased_exp <= F::MANTISSA_SIZE - 63`, in error_is_accurate()
194 // The unbiased check calculation for bits is `1 - F::EXPONENT_BIAS - unbiased_exp`, in error_is_accurate()
H A Dslow.rs80 let exp = bigmant.bit_length() as i32 - 64 + F::EXPONENT_BIAS; in positive_digit_comp()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/
H A Dto_toml.py83 return biased_e - self.EXPONENT_BIAS
103 EXPONENT_BIAS = np.int32(127 + MANTISSA_SIZE) variable in Float32
104 DENORMAL_EXPONENT = np.int32(1 - EXPONENT_BIAS)
117 EXPONENT_BIAS = np.int32(1023 + MANTISSA_SIZE) variable in Float64
118 DENORMAL_EXPONENT = np.int32(1 - EXPONENT_BIAS)
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderFConvertTests.cpp76 int exponent = rnd.getInt(1 - T::EXPONENT_BIAS, T::EXPONENT_BIAS + 1); in getRandomNormal()
H A DvktShaderCommonFunctionTests.cpp646 const deUint64 exponentBias = (isDouble ? static_cast<deUint64>(tcu::Float64::EXPONENT_BIAS) : static_cast<deUint64>(tcu::Float32::EXPONENT_BIAS)); in infNanRandomFloats()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderFConvertTests.cpp76 int exponent = rnd.getInt(1 - T::EXPONENT_BIAS, T::EXPONENT_BIAS + 1); in getRandomNormal()
H A DvktShaderCommonFunctionTests.cpp646 const deUint64 exponentBias = (isDouble ? static_cast<deUint64>(tcu::Float64::EXPONENT_BIAS) : static_cast<deUint64>(tcu::Float32::EXPONENT_BIAS)); in infNanRandomFloats()
/third_party/vk-gl-cts/framework/common/
H A DtcuFloat.hpp65 EXPONENT_BIAS = ExponentBias, enumerator
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmFloatControlsTests.cpp2704 DE_ASSERT(returnedFloat.EXPONENT_BIAS == 15); in compareBytes()
2710 DE_ASSERT(returnedFloat.EXPONENT_BIAS == 15); in compareBytes()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmFloatControlsTests.cpp2702 DE_ASSERT(returnedFloat.EXPONENT_BIAS == 15); in compareBytes()
2708 DE_ASSERT(returnedFloat.EXPONENT_BIAS == 15); in compareBytes()

Completed in 25 milliseconds