Searched refs:sign_mask (Results 1 – 10 of 10) sorted by relevance
124 uint64_t sign_mask = 0; in CheckRangeAndIfHexThenSignExtend() local130 sign_mask = magnitude_mask + 1; in CheckRangeAndIfHexThenSignExtend()137 ((value & sign_mask) != sign_mask); in CheckRangeAndIfHexThenSignExtend()156 if (is_hex && (value & sign_mask)) in CheckRangeAndIfHexThenSignExtend()
293 static const uint_type sign_mask = uint_type(1) << top_bit_left_shift;318 ~sign_mask);342 if ((getBits() & ~sign_mask) == 0) { // special case if everything is 0369 bool isNegative() const { return (getBits() & sign_mask) != 0; }409 new_value = static_cast<uint_type>(new_value | sign_mask);605 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask)));620 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask |679 const char* const sign = (bits & HF::sign_mask) ? "-" : "";
125 uint64_t sign_mask = 0; in CheckRangeAndIfHexThenSignExtend() local131 sign_mask = magnitude_mask + 1; in CheckRangeAndIfHexThenSignExtend()138 ((value & sign_mask) != sign_mask); in CheckRangeAndIfHexThenSignExtend()157 if (is_hex && (value & sign_mask)) in CheckRangeAndIfHexThenSignExtend()
338 static const uint_type sign_mask = uint_type(1) << top_bit_left_shift;362 return static_cast<uint_type>(value_.data() & ~sign_mask);386 if ((getBits() & ~sign_mask) == 0) { // special case if everything is 0413 bool isNegative() const { return (getBits() & sign_mask) != 0; }453 new_value = static_cast<uint_type>(new_value | sign_mask);677 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask)));692 (negate ? other_T::sign_mask : 0) | other_T::exponent_mask |751 const char* const sign = (bits & HF::sign_mask) ? "-" : "";
105 …static BOOST_CONSTEXPR_OR_CONST storage_type sign_mask = static_cast< storage_type >(1u) << (atomi… member109 …rn atomics::detail::bitwise_fp_cast< value_type >(base_type::fetch_xor(storage, sign_mask, order)); in fetch_negate()114 … atomics::detail::bitwise_fp_cast< value_type >(base_type::bitwise_xor(storage, sign_mask, order)); in negate()119 base_type::opaque_xor(storage, sign_mask, order); in opaque_negate()
34 static const uint32_t sign_mask = 0x80000000u; in SkFloatToHalf() local41 uint32_t sign = floatUnion.fUInt & sign_mask; in SkFloatToHalf()
236 int sign_mask = ~0; in test_complement() local239 BOOST_CHECK_EQUAL(~a, (~i & sign_mask)); in test_complement()241 BOOST_CHECK_EQUAL(c, (i & (~j & sign_mask))); in test_complement()243 BOOST_CHECK_EQUAL(c, (~(i | j) & sign_mask)); in test_complement()