29 int fractionalBits = 6 + shift;
30 double magic = (1LL << (52 - (fractionalBits))) * 1.5;
40#define SK_FDot6One (64)
41#define SK_FDot6Half (32)
49 #define SkIntToFDot6(x) ((x) << 6)
52#define SkFDot6Floor(x) ((x) >> 6)
53#define SkFDot6Ceil(x) (((x) + 63) >> 6)
54#define SkFDot6Round(x) (((x) + 32) >> 6)
56#define SkFixedToFDot6(x) ((x) >> 10)
64#define SkScalarToFDot6(x) (SkFDot6)((x) * 64)
65#define SkFDot6ToScalar(x) ((SkScalar)(x) * 0.015625f)
66#define SkFDot6ToFloat SkFDot6ToScalar
71 if (SkTFitsIn<int16_t>(
a)) {
SkFixed SkFDot6ToFixed(SkFDot6 x)
SkFixed SkFDot6Div(SkFDot6 a, SkFDot6 b)
SkFDot6 SkScalarRoundToFDot6(SkScalar x, int shift=0)
#define SkFixedDiv(numer, denom)
static constexpr int32_t SkLeftShift(int32_t value, int32_t shift)
#define SkScalarToDouble(x)
constexpr int16_t SkToS16(S x)