Home
last modified time | relevance | path

Searched refs:EXP_BIAS (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkFloatBits.cpp17 #define EXP_BIAS (127+23) macro
39 int exp = unpack_exp(packed) - EXP_BIAS; in SkFloatBits_toIntCast()
65 int exp = unpack_exp(packed) - EXP_BIAS; in SkFloatBits_toIntFloor()
95 int exp = unpack_exp(packed) - EXP_BIAS; in SkFloatBits_toIntRound()
125 int exp = unpack_exp(packed) - EXP_BIAS; in SkFloatBits_toIntCeil()
160 int shift = EXP_BIAS; in SkIntToFloatCast()
193 int shift = EXP_BIAS; in SkIntToFloatCast_NoOverflowCheck()
DSkFloat.cpp20 #define EXP_BIAS (127+23) macro
44 int exp = get_unsigned_exp(packed) - EXP_BIAS - shift; in GetShift()
93 shift += EXP_BIAS; in SetShift()
163 return SkFloat::SetShift(value_a + value_b, exp - EXP_BIAS); in Add()
188 return SkFloat::SetShift(mul24(value_a, value_b), exp_a + exp_b - 2*EXP_BIAS + 24); in Mul()
233 int nexp = exp - EXP_BIAS; in Sqrt()