Lines Matching refs:sk_bit_cast
405 return sk_bit_cast<U64>(parts);
946 return sk_bit_cast<V>(if_then_else(c, sk_bit_cast<F>(t), sk_bit_cast<F>(e)));
966 F e = cast(sk_bit_cast<U32>(x)) * (1.0f / (1<<23));
969 F m = sk_bit_cast<F>((sk_bit_cast<U32>(x) & 0x007fffff) | 0x3f000000);
983 return sk_bit_cast<F>(round(1.0f * (1<<23),
1016 , sk_bit_cast<F>( (s<<16) + (em<<13) + ((127-15)<<23) ));
1030 U32 sem = sk_bit_cast<U32>(f),
1249 F inclusive = sk_bit_cast<F>( sk_bit_cast<U32>(limit) - 1 ); // Exclusive -> inclusive.
1686 float inf = sk_bit_cast<float>(0x7f800000);
1847 U32 bits = sk_bit_cast<U32>(x);
1849 return sk_bit_cast<F>(bits ^ *sign);
1853 return sk_bit_cast<F>(sign | sk_bit_cast<U32>(x));
2345 r = sk_bit_cast<F>(sk_bit_cast<U32>(r) & mask);
2346 g = sk_bit_cast<F>(sk_bit_cast<U32>(g) & mask);
2347 b = sk_bit_cast<F>(sk_bit_cast<U32>(b) & mask);
2348 a = sk_bit_cast<F>(sk_bit_cast<U32>(a) & mask);
2573 r = sk_bit_cast<F>(sk_bit_cast<U32>(r) & mask);
2574 g = sk_bit_cast<F>(sk_bit_cast<U32>(g) & mask);
2575 b = sk_bit_cast<F>(sk_bit_cast<U32>(b) & mask);
2576 a = sk_bit_cast<F>(sk_bit_cast<U32>(a) & mask);
3155 return sk_bit_cast<F>( (sk_bit_cast<I32>(t) & c) | (sk_bit_cast<I32>(e) & ~c) );
3276 SI F abs_(F x) { return sk_bit_cast<F>( sk_bit_cast<I32>(x) & 0x7fffffff ); }
3458 const F w = sk_bit_cast<float>( sk_bit_cast<uint32_t>(ctx->width ) - 1),
3459 h = sk_bit_cast<float>( sk_bit_cast<uint32_t>(ctx->height) - 1);