Searched refs:halfBits (Results 1 – 5 of 5) sorted by relevance
34 size_t halfBits = bits / 2; in DEF_TEST() local35 size_t sqrtMax = max >> halfBits; in DEF_TEST()40 REPORTER_ASSERT(r, safe.mul(sqrtMax, sqrtMaxPlus1) == sqrtMax << halfBits); in DEF_TEST()
362 void halfToFloatBits(Float4& dst, const Float4& halfBits);
1147 void ShaderCore::halfToFloatBits(Float4& dst, const Float4& halfBits) in halfToFloatBits() argument1154 UInt4 expmant = As<UInt4>(halfBits) & UInt4(mask_nosign); in halfToFloatBits()1156 ((As<UInt4>(halfBits) ^ UInt4(expmant)) << 16) | in halfToFloatBits()
2361 const int halfBits = 0x3EFFFFFF; // Value just under 0.5f in address() local2392 Float4 half = As<Float4>(Int4(halfBits)); in address()2400 Float4 half = As<Float4>(Int4(halfBits)); in address()