Lines Matching defs:exp
272 static inline float pow10(int32_t exp) {
288 SkASSERT(exp <= 0);
290 return (exp >= -k_exp_offset) ? g_pow10_table[exp + k_exp_offset]
291 : std::pow(10.0f, static_cast<float>(exp));
741 const char* matchFastFloatDecimalPart(const char* p, int sign, float f, int exp) {
742 SkASSERT(exp <= 0);
746 f = f * 10.f + (*p++ - '0'); --exp;
748 f = f * 10.f + (*p++ - '0'); --exp;
751 const auto decimal_scale = pow10(exp);
816 int exp = 0;
820 n32 = n32 * 10 + (*p++ - '0'); --exp;
822 n32 = n32 * 10 + (*p++ - '0'); --exp;
828 this->pushFloat(sign * n32 * pow10(exp));
836 return this->matchFastFloatDecimalPart(p, sign, n32, exp);