Searched refs:u_scalar (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/rand/src/distributions/ |
D | float.rs | 93 ($ty:ident, $uty:ident, $f_scalar:ident, $u_scalar:ty, 100 let exponent_bits: $u_scalar = 101 (($exponent_bias + exponent) as $u_scalar) << $fraction_bits; 113 let scale = 1.0 / ((1 as $u_scalar << precision) as $f_scalar); 128 let scale = 1.0 / ((1 as $u_scalar << precision) as $f_scalar);
|
D | uniform.rs | 572 ($ty:ident, $unsigned:ident, $u_scalar:ident) => { 610 let unsigned_max = ::core::$u_scalar::MAX; 669 ($(($unsigned:ident, $signed:ident),)+ $u_scalar:ident) => { 671 uniform_simd_int_impl!($unsigned, $unsigned, $u_scalar); 672 uniform_simd_int_impl!($signed, $unsigned, $u_scalar); 815 ($ty:ty, $uty:ident, $f_scalar:ident, $u_scalar:ident, $bits_to_discard:expr) => { 836 (::core::$u_scalar::MAX >> $bits_to_discard).into_float_with_exponent(0) - 1.0, 870 (::core::$u_scalar::MAX >> $bits_to_discard).into_float_with_exponent(0) - 1.0,
|
/external/llvm-project/lldb/unittests/Utility/ |
D | ScalarTest.cpp | 231 Scalar u_scalar(a2); in TEST() local 232 ASSERT_TRUE(u_scalar.ExtractBitfield(0, 0)); in TEST() 233 EXPECT_EQ(u_scalar, a2); in TEST() 234 ASSERT_TRUE(u_scalar.ExtractBitfield(len, 0)); in TEST() 235 EXPECT_EQ(u_scalar, a2); in TEST() 236 ASSERT_TRUE(u_scalar.ExtractBitfield(len - 4, 4)); in TEST() 237 EXPECT_EQ(u_scalar, b2); in TEST()
|